Home > Java > javaTutorial > body text

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

怪我咯
Release: 2017-07-02 10:31:17
Original
1628 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!

source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!