1 Download Jdk.
A official Website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Originally prepared to share cloud disk, The results of cloud disk sharing Failed. You can only go to the official website to Download.
Download yourself and see what your system is, which explains WinDOS settings. Click on the red circle before downloading, otherwise you cannot download it.
2 Install the Fool installation, remember the installation address on it . Don't set it up and don't change it.
3 Setting java_home:win7 setting environment variables computer right-click----properties----advanced system settings
:
Advanced---environment variable----(see System Change first, variable name "java_home") no------new
Variable name: java_home
Variable value: C:\Program files\java\jdk1.7.0_51//this is the path where you install the JDK
4 Set the path, and find his double-click to edit it.
At the front, add "%java_home%\bin;" That's All you can do. Do not forget the semicolon, you can copy the value of all the variables to put in Notepad backup.
Don't change anything inside. Set Ok. Be sure to keep it Ok.
5 self in cmd command input: java
The result is as Above. Note that the installation was successful, enter: java-version view your installation Version.
Start to move the bricks ......... ................
Detailed configuration steps for Java environment variables