Home >Java >javaTutorial >Detailed explanation of JAVA JDK environment variable configuration (picture and text)
This article introduces the specific steps of JDKenvironment variable configuration. Friends who need it can refer to it
1. My Computer-->Properties-->Advanced-->Environment Variables
2. Configure user variables:
2.1. Create a new JAVA_HOME
C:\Program Files\Java\jdk1.6.0_31(JDKInstallation path)
2.2. Add
under PATH ;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
2.3.NewCLASSPATH
.;%JAVA_HOME%\lib ;%JAVA_HOME%\lib\tools.jar
3. Test whether the environment variables are configured Success
Start-->Run--〉CMD
Enter java -version (installed JDK version) or javac (compile command ), if the help description as shown below appears, the configuration is successful
The above is the detailed content of Detailed explanation of JAVA JDK environment variable configuration (picture and text). For more information, please follow other related articles on the PHP Chinese website!