Configure the JDK environment variable parameter settings under Windows 7:
1. Install the JDK, the installation process can define the installation folder and other information, such as we choose the installation folder: D:\Program Files (x86) \java\jdk1.6.0_25
2. Once the installation is complete, right click on "My Computer", click "Properties" , click "Advanced System Settings", click "Environment Variables ",
4. In "System Variables", set 3 properties, Java_home,path,classpath (uppercase and lowercase), if it already exists then click "Edit", do not exist then click "New":
(1). Java_home indicates the installation of the JDK path, which is the path selected at the time of installation D:\Program Files (x86) \java\jdk1.6.0_25
(2) Join under Path entry?:%java_home%\bin; %java_home%\jre\bin, note that the previous semicolon was separated, and I installed the Oracle database here, so I put it before it.
(3) in Classpath to join?:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar (to Add. Indicates the current path),
5. "Start"->; " Execute, type "cmd", type the command "Javac", and the following screen shows that the environment variable is configured successfully.
"Java" Windows7 setting environment variables