Closed anymate98 closed 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! :)
set the JAVA_HOME environment variable to the location your want, and the version in that location will be loaded.
JAVA_HOME
thanks!
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! :)