JuliaInterop / JavaCall.jl

Call Java from Julia
http://juliainterop.github.io/JavaCall.jl
Other
118 stars 53 forks source link

How to use different versions of Java? #69

Closed anymate98 closed 6 years ago

anymate98 commented 6 years ago

I have two Java versions on my computer, which is of course 1.8 and 9. My Java default seems to be 1.8, but is there any way to use other versions? No problem running the code... just curious! :)

aviks commented 6 years ago

set the JAVA_HOME environment variable to the location your want, and the version in that location will be loaded.

anymate98 commented 6 years ago

thanks!