- Problem Description:
- began to install the jdk8 later installed Jdk9, can be configured for the project different JDK, peaceful;
- Today found that the software needs JDK8 environment, the results of my java-version is always jdk9.0.1;
- Workaround: Make Java-version 1.8 .....
- Specific implementation:
- Open environment variable configuration: Configure path to the required JDK version;
- For example: D:\JDK8\jdk1.8.0_144\bin;
- For Java_home: In this test, you can either configure 1.8 or 1.9 or 2 with a semicolon interval. Simply delete, can also be used normally.
- This thought to the above is OK, actually still can not change with the configuration in path, need to make the following changes: The machine is located in the C-drive Java.exe, Javaw.exe, javaws.exe three files can be deleted (the specific location I have not been found after the deletion, can be consulted: http:/ /blog.csdn.net/tooky_poom/article/details/60768458).
- Note: After changing the path configuration, you should re-cmd the command to view the latest JDK version.
- Note: The above results are based on win7,jdk1.8 and 1.9 tests.
Install multiple versions of Jdk,java-version under Windows system