JDK environment variable configuration, jdk environment variable

Source: Internet
Author: User

JDK environment variable configuration, jdk environment variable

Step 1: After JDK is installed, configure the environment variable computer → properties → advanced system settings → advanced → environment variable

 

 

Step 2: System variable → create JAVA_HOME variable.

Enter the jdk installation directory (C: \ Program Files \ java \ jdk1.7.0 _ 17) as the variable value)

 

 

Step 3: System variable → search for Path variable → Edit

Enter % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin at the end of the variable value;

 

 

Step 4: System variable → new CLASSPATH variable

Enter the variable value.; % JAVA_HOME % \ lib \ tools. jar (note the first one)

 

 

Step 5: Enter java-version in cmd to check whether the configuration is successful.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.