Modify JAVA_HOME path, jdk version unchanged

problem found

MyEclipse crack running .cracker not work, switch configuration path java_home and run Java -version to see the version number, jdk version is always jdk 10.0

Root of the problem

Java -version command running a java.exe, we open the path environment variable

Open Article directory path, and we found that there are three .exe files, among them we need java.exe , then configure the Java environment, run java.exe, will find the .exe from all directories under the path path , it is clear that we have been running java.exe under the C drive Oracle directory, version obtained would have been the same, regardless of how it caused a modification java_home path, jdk version has been the same, .cracker will not be able to open .

Solution

Will be moved to the first bar on the% JAVA_HOME% \ bin in the path, three or delete the C drive under Oracle directory .exe file

See: path in the role of windows

Guess you like

Origin www.cnblogs.com/ddpapa/p/11878885.html