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

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

怪我咯
Release: 2017-07-02 10:31:17
Original
1756 people have browsed it

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 of this Website
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
Latest Issues
Install JAVA
From 1970-01-01 08:00:00
0
0
0
Unable to install java
From 1970-01-01 08:00:00
0
0
0
Can java be used as the backend of the web?
From 1970-01-01 08:00:00
0
0
0
Is this in Java language?
From 1970-01-01 08:00:00
0
0
0
Help: JAVA encrypted data PHP decryption
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template