Meanwhile JDK6 and installation problems arise JDK8

Sometimes due to the project needs, you may need to use JDK6 and JDK8, this time you may experience some problems

 

Question one:

eclipse may not open due to the eclipse default requirements JDK8, but after installing the system JDK6 JDK6 default, even if your JAVA_HOME JDK configuration is useless

 

solution:

Eclipse.ini find files in the root directory of eclipse 

Fill in the following changes

 

 

Question two:

After open cmd java -version command version of jdk6

 

solution:

Found C: \ Windows \ System32 directory, the folder java.exe, javaw.exe, javaws.exe delete, query and then try again, changes are complete.

 

Guess you like

Origin www.cnblogs.com/wnhbx/p/11695057.html