JDK 1.6 environment variable configuration in Windows

Source: Internet
Author: User

In the new open interface, you must set three attributes: java_home, path, and classpath.

In the environment where JDK is not installed, the path attribute exists, while java_home and classpath do not exist.

Click create, and write java_home in the variable name. The variable is the installation path of Java.

D: \ Java \ jdk1.6.0

Find the path in the system variable (my path) and click Edit. The meaning of the PATH variable is that the system can recognize Java commands in any path, add a sentence at the end.

; % Java_home % \ bin; % java_home % \ JRE \ bin;

Click Create again, and then write classpath on the variable name. This variable indicates the path of the Java loading class (class or Lib). Only the class is in the classpath, java command can recognize its value

.; % Java_home % \ Lib \ tools. Jar

 

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.