How can I use two JDK versions?

Như Quỳnh

New member
How can I use two JDK versions?
Answer
It is possible that you also need to change the PATH environment variable to use the correct java binary. To do this you can use set
PATH=%JAVA_HOME%bin;%PATH
% . Invoking Java with “java -version:1.5”, etc. should run with the correct version of Java.
 

Tìm kiếm

Back
Top