Configuring Java JDK Environment variables

Source: Internet
Author: User
  1. In the new page, enter the variable name "Java_home", the variable value "Your JDK path (please refer to, find your installation path)", and then click "OK".

  2. In the System variables area, select "New", enter the variable name "CLASSPATH"; Variable value: ".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; ". Note that in the variable value, the preceding "point" and "semicolon", you can copy this variable value directly. Then click "OK".
  3. Through the roller, locate the "Path" variable in the system variable area and double-click to open it. Click New to add the following two lines of code (two lines of code in the Red selection box).
  4. Using the Windows icon +r, quickly open the "Run" operator interface and enter CMD to confirm the return.
  5. Enter java–version on the command line; If you can display version information for Java, the configuration is successful.

Configuring Java JDK 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.