Answer the question
In order to leave comments, you need to log in
Am I switching java versions correctly?
I use windows 10, installed java 8 and java 11 (in that order). For switching, I do not plan to use third-party software like SDKMAN.
Do I understand correctly that to switch you just need to change JAVA_HOME and Path?
Made variables
JAVA_HOME_8 = C:\Program Files\Java\jdk1.8.0_311
JAVA_HOME_11 = C:\Program Files\Java\jdk-11.0.13
JAVA_HOME = %JAVA_HOME_8%
%JAVA_HOME%\bin
C:\Program Files\Common Files\Oracle\Java\javapath
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question