Turn to "focus on Javaweb development": http://www.javaweb1024.com/java/Javajichu/2015/03/02/353.html
Download jdk and install to this machine, attached: JDK download
First step : Right-click on the desktop My Computer properties, tap "Advanced system Settings"
Step two : In the System properties, locate the environment variable (open by default)
Step three : then click on the environment variable
Fourth Step : Click New, the variable name is java_home, the variable value is the JDK installation path, I installed on the D disk
environment variable value is: D:\program files (x64) \java\jdk1.7.0_55 attached: JDK installation directory path (without bin directory)
Fifth Step : Then edit path, add at the top of the value of the variable;%java_home%\bin, and make sure attached: Notice the semicolon (in English state) separated
Sixth Step : detect if the installation is successful
Ctrl+r input cmd Enter
Seventh Step : Enter Javac carriage return appears
The installation fails, please check your fifth step or the directory is correct
The following indicates a successful configuration
QQ Group: Focus on Javaweb Development official group (178744906) authentication message: JavaWeb1024
Java Learning First step: Win7 Configuring the JDK environment