Error Tip:
Can also create symbolic link if you don ' t want to copy the files. (Requires Administrator privileges):
Mklink C:/windows/syswow64/java.exe C:/windows/system32/java.exe
Mklink C:/windows/syswow64/javaw.exe C:/windows/system32/javaw.exe
Right-click Computer on the desktop, select Properties (or open System in Control Panel), select Advanced System settings, and under System Properties, select environment variables on the Advanced page.
Found the Java_home variable in the system environment variable, no, please create a new Java_home item, set the value of the Java_home variable to
The code is as follows |
Copy Code |
C:/Program files/java/jdk1.7.0_10 |
, this is the JDK installation path, according to its own installation path and version of the please modify yourself.
Then create or modify the following variable values:
Set the value of the CLASSPATH variable to:
The code is as follows |
Copy Code |
.; %java_home%/lib;%java_home%/lib/tools.jar;%java_home%/lib/dt.jar |
Add the PATH variable value to the end of the original value with the semicolon of the English half-width; And then add
The code is as follows |
Copy Code |
C:/Program Files/java/jdk1.7.0_10/bin
|
This value also depends on your own installation path and version of the different self modification