Steps for the Java environment configuration

Source: Internet
Author: User

1. Right-click computer------> Properties------> Advanced System settings

2. In the popup window to switch to advanced, click on the bottom there is an environment variable, enter the environment variable settings

3. Three environment variables need to be configured here: Java_home, CLASSPATH, Path;

First configure click Java_home, click New under System variables, variable name: java_home, Variable Value: The path where the JDK is installed, click OK

4. Then configure CLASSPATH, same as previous step, click New, variable name: CLASSPATH, Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar (Note that the first point can not be omitted, the last to have an English symbol), click OK

5. Finally configure path, locate the path in the system variable and double-click it, add:%java_home%\bin;%java_home%\jre\bin at the end of the value of the variable; last click OK

6. Verify that the configuration is successful, press the Windows+r key, enter cmd

7. Enter Javac in the pop-up black box, if the configuration is successful, Javac usage will appear.

Steps for the Java environment configuration

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.