Installation of Java and environment variable configuration
1. Download Java first and install it. : http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html according to their own computer system to choose to download! such as 2, the installation of the time, it is best not to change the installation path, the default path has been point next! 3, after the installation is complete, the next step is to configure the Java environment variables. 4. Turn on the computer properties and click Advanced System settings (e.g.) 5. Select "Advanced"-"environment variable" (e.g.)
6. Click New (e.g.)
7. Create a new variable named "Java_home", the value of the variable is:C:\Program files\java\jdk1.7.0_01(in your installation directory, confirm that there are bin and Lib,jre and other folders), click Confirm.
8. Re-build a variable named "CLASSPATH", the value of the variable is:.; %java_home%\lib;%java_home%\lib\dt.jar;(do not miss the beginning of the small point)
9, if the variable directory does not have the path of the variable, you also need to create a new variable named "path", the value of the variable:%java_home%\bin;%java_home%\jre\bin;If you already have path, just precede the value with a section of the path of the polygon, and at the end of it, separate, click OK.
10. After they have been built, the following:
11. After the environment variable is configured, the next step is to verify that the configuration is successful. Click "Run"--enter "cmd"--carriage return--enter "Javac"--carriage return if the effect appears, the configuration is successful! Conversely, it fails!!
At this point, the Java environment variable configuration is complete!!
Java installation and environment variable configuration