Download jdk1.8,:http://www.wmzhe.com/soft-30118.html
There are two programs installed, all installed in the same directory.
Win7 64-bit installation Java jdk1.8, modifying configuration environment variables
Configuring Environment variables
Configuration method:
1. New System variable Java_home:
Variable name: java_home
Variable Value: C:\Program Files (x86) \java\jdk1.8.0_11 (variable values vary slightly depending on the path you install)
Win7 64-bit installation Java jdk1.8, modifying configuration environment variables
2. In the system variable, the new system variable classpath:
Variable name: classpath
Variable value:%java_home%\lib;%java_home%\lib\tools.jar; (Some people say that the front dot, I add no)
Win7 64-bit installation Java jdk1.8, modifying configuration environment variables
3. Modify the system variable Path value:
Add the following before the value of the variable in path:%java_home%\bin;
Win7 64-bit installation Java jdk1.8, modifying configuration environment variables
CMD input java-version, (there are spaces) such as, modified successfully.
Precautions
Note Semicolon
Environment variable configuration successfully requires a restart of cmd
Win7 64-bit installation Java jdk1.8, modifying configuration environment variables