installation files
Open folder, execute. exe file
Configuring Environment variables
Computer Right-click-Properties-Advanced system settings-environment variables
New system environment variable or direct add path after entering environment variable
Set 3 properties, Java_home,path,classpath (recommended capitalization), click "Edit" if it exists, click "New" if it does not exist
The specific settings are as follows: (path is a variable that exists in the system, so add a good point at the back, add the path above us)
Path D:\Program Files (x86) \java\jdk1.6.0_43\bin
Java_home D:\Program Files (x86) \java\jdk1.6.0_43
Classpath D:\Program Files (x86) \java\jdk1.6.0_43\lib\tools.jar;d:\program files (x86) \java\jdk1.6.0_43\jre\lib\ Rt.jar;
Then restart cmd, enter java-version normal display is configured to complete.
This article is from the "I have patience with myself" blog, please be sure to keep this source http://9607474.blog.51cto.com/9597474/1683814
Installation of the JDK under Windows