Configuration of Java Environment variables (WIN10 environment)

Source: Internet
Author: User
One, Win10 computer with JDK installed
1. First find ' This computer ', right click to select Properties

2. Select Advanced System Settings

3. Select Environment variables

4, select New, variable named (java_home) variable value is the path to install the JDK before, my is installed in E:\Program files\java\jdk1.7.0_65_64, you have to look at their own


5, find Classpath, no new to the words, the variable named Classpath variable value is.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar (not a single symbol here, see the values in the picture, note the front dot and comma)

6, find path, edit it at the beginning or the end of the Add, click the New button to add a variable value of%java_home%\bin (or absolute path E:\Program files\java\jdk1.7.0_65_64\bin)
New Add variable value at point%java_home%\jre\bin (or absolute path E:\Program files\java\jdk1.7.0_65_64\jre\bin)
"Before Window10 and before the system add a variable a bit different, before the system can be added after the path with a semicolon can be appended, but WINDWOS10 is a need to add a related variable"

Configuration of Java Environment variables (WIN10 environment)

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.