Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Thursday, May 5, 2022

How To: Switching Between Java Versions In Windows

.

How to Change Java Versions in Windows

.

The following two environment variables decide which Java version an application uses:

JAVA_HOME – many start scripts use this variable.

Path – is used when running a Java binary (such as java and javac) from the console.

These variables should always point to the same Java installation to avoid inconsistencies. Some programs, such as Eclipse, define the Java version in a separate configuration file (for Eclipse, for example, this is the entry "-vm" in the eclipse.ini file).

.

Install the Scripts to Change the Java Version:

https://www.happycoders.eu/java/how-to-switch-multiple-java-versions-windows/

No comments:

Post a Comment