Java Environment variables

Source: Internet
Author: User

It's a simple question! Configuring Java Environment variables

Get ready

Download install Java, official address

Open the System environment variable, right-click on my Computer

Java_home

Add Java_home, set the JDK installation directory, such as "C:\Program files\java\jdk1.8.0_40", with no semicolon at the end.

CLASSPATH

Add Classpath, set to ".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; ".

Path

Edit path, create a new absolute path for the bin and \jre\bin directories, and the relative path to WIN10 does not work.

Rebooting the system

Verify

Reference Documentation:

http://blog.csdn.net/suncold123/article/details/48392135

Java Environment variables

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.