1, right click on the desktop "Computer" icon, and then select "Properties" to open the System Properties window;
2, click on the left "Advanced system settings" option, and click the "Environment variable" button below;
3. In the environment variable editing interface, create a new variable named Java_home at the system variable, and set the value to C:Program Filesjavajdk1.6.0_12;
4, System variable-> edit-> variable name: Path at the front of the variable value plus:%java_home%bin;
5, System variable-> new-> variable name: CLASSPATH Variable Value:
.; %java_home%lib;%java_home%libdt.jar;%java_home%libtools.jar whether the environment variable is set successfully under the last Test
This is how the Java JDK sets the environment variables in the Win7 64-bit system. Hope to help you.
Note : Please pay attention to the Triple triple Tutorial channel for more wonderful tutorials,