To install the Java environment First jdk1.7 deployment, note should be placed in a directory without Chinese and white space, and then configure environment variables, configuration environment variables are divided into three steps:
1. Open My Computer--Properties--advanced--environment variables
2. New System variables Java_home and Classpath
Variable name: java_home
Variable Value: D:\Java\jdk1.7.0_60_x64
Variable name: CLASSPATH
Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
3. Select the environment variable named "path" in the "System variables", double-click the variable, add the absolute path of the bin directory in the JDK installation path to the front of the value of the path variable, and delimit the semicolon with the half-width and the existing path.
Variable name: Path
Variable value:%java_home%\bin;%java_home%\jre\bin;
This is the Java environment configuration, the configuration is completed directly after the eclipse, it will automatically complete the configuration of the Java environment
(Simply say the 3rd step is to create a new environment variable named: path
Variable value:%java_home%\bin;%java_home%\jre\bin; directly in front of the value of the original variable)
After modifying the environment variable, you can click "Start"-"All Programs"-"accessories"--"Run", enter "cmd" in the pop-up window to appear the Test window, enter "JAVA" Test in the Test window.
First lesson Java Development environment Configuration