JDK environment variable Configuration
1. Configure environment variables after installation of JDK computer → properties → advanced system settings → advanced → environment variables
2, system variable → new java_home variable. Variable value fill in the JDK installation directory (my installation directory is C:\Program files\java\jdk1.7.0_713. System variable → find Path variable → editenter%java_home%\bin;%java_home%\jre\bin at the end of the variable value;(Note that the original path of the variable value at the end of there is no; number, if not, first enter; number and then enter the above code) 4. System variables → new CLASSPATH variablevariable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)5. Test environment variables are configured correctly:============================ the environment variable is configured successfully note: Configure the path of the JDK installation try not to knock, go directly to the path under the copy (reason you understand) ============================ Appendix: This is my first blog, referring to a goddess of the blog written, and then one step at a time to practice, the equivalent of a review, repeated hands to do, you will remember very clearly. Learn to program to your own words (can't remember, because you do not repeat the number of times)
The first step in learning Java JDK environment variable configuration