WINDOWS10 Java environment variable configuration

Source: Internet
Author: User

1. Right click on the computer, click Properties, click Advanced System Settings, and then click Environment Variables.

2. New environment variable, variable name:java_home, variable value: C:\Program Files (x86) \java\jdk1.8.0_31(JDK installation path);

3. Locate the environment variable variable PATH and add the following two variable values in Paht : %java_home%\bin and %java_hoem%\jre\bin.

4. Find the environment variable CLASSPATH, if none, create a new, variable is: .; %javaa_home%\lib;%javaa_home%\lib\tools.jar

5.windows+r Key, open the Run window, enter CMD, return.

6. Enter Java carriage return and Javac carriage return on the DOS command line. If the usage information is entered, the Java Runtime and the development environment are configured successfully.

WINDOWS10 Java environment variable 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.