Win7 system How to set Java environment variables

Source: Internet
Author: User

1, right click on the desktop "Computer" icon, and then select "Properties" to open the System Properties window;

2, click on the left "Advanced system settings" option, and click the "Environment variable" button below;

3. In the environment variable editing interface, create a new variable named Java_home at the system variable, and set the value to C:Program Filesjavajdk1.6.0_12;

4, System variable-> edit-> variable name: Path at the front of the variable value plus:%java_home%bin;

5, System variable-> new-> variable name: CLASSPATH Variable Value:

.; %java_home%lib;%java_home%libdt.jar;%java_home%libtools.jar whether the environment variable is set successfully under the last Test

This is how the Java JDK sets the environment variables in the Win7 64-bit system. Hope to help you.

Note : Please pay attention to the Triple triple Tutorial channel for more wonderful tutorials,

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.