Website download
Direct Opening official website: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
I installed the 1.7 version, of course, you can choose your own appropriate version.
Installation
To download the. exe file, there is nothing to talk about, it is the next step directly. Of course, you can choose the appropriate installation path, I chose the F:\Java.
Then select the JRE installation path:
Environment variables
On the desktop to find the computer (this computer) right button, click Properties-Advanced system settings-environment variables, you can start editing.
1. First in the following system variables click the New button, add java_home system variables, variable values for you to store the JDK path, such as: F:\Java\jdk1.7.0_79.
2. Then click the New button again, add classpath system variable, the variable value is:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
3. Still in the system variable, find the path variable, edit it, add at the end;%java_home%\bin.
No reboot.
Win+r key to open cmd, typing java-version command
Displays the version of the currently installed JDK, even if it is done. If you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!
The next article to introduce Java 0 Basic tutorial Windows installation, start the Tomcat server method diagram (free of installation version), interested friends please pay attention to cloud Habitat community website!