Basic settings of java JDK System Variables

Source: Internet
Author: User

This article introduces some basic JDK configurations on the Windows platform during java Development:

1. Right-click "my computer" = "Advanced =" environment variable"

2. Create a variable named "CLASSPATH" with the value "% JAVA_HOME % \ lib; % JAVA_HOME % \ jre \ lib ;"

3. Create a variable named "JAVA_HOME" with the value corresponding to "D: \ Program Files \ glassfish3 \ jdk"

4. Create a variable named "JBOSS_HOME" with the value corresponding to "D: \ Program Files \ jboss-as-7.1.1.Final"

5. Create a variable named "MAVEN_HOME" with the value corresponding to "D: \ Program Files \ apache-maven-3.0.4"

6. Edit the variable name "Path" and fill in "% JAVA_HOME % \ lib; % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ lib; D: \ Program Files \ apache-maven-3.0.4 \ lib; D: \ Program Files \ apache-maven-3.0.4 \ bin; D: \ Program Files \ TortoiseSVN \ bin; D: \ Program Files \ nodejs \ "you can add the location of the corresponding file package as needed

7. Create a variable named "TOMCAT_HOME" with the value corresponding to "D: \ Program Files \ apache-tomcat-7.0.26"

The value corresponding to the above variable name is the location of the file. You can configure it according to your own settings. You can configure the file packages you need in basic configuration methods.

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.