Home  >  Article  >  Java  >  Detailed explanation of JAVA JDK environment variable configuration (picture and text)

Detailed explanation of JAVA JDK environment variable configuration (picture and text)

怪我咯
怪我咯Original
2017-07-02 10:31:171623browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn