JDK Download and installation

Source: Internet
Author: User

1, download and install the JDK, the latest version is 1.8.0, official website: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Click on the selected JDK, go to the appropriate download page, accept license, select the appropriate version

2.JDK environment variable configuration:

  • Modify My Computer--advanced environment variable---->java_home, without which the variable value is the JDK installation directory, my installation directory is C:\Program files\java\jdk1.8.0

  • Modify My Computer--high-level environment variable->classpath, without which the variable value is: ";%java_home%\bin;%java_home%\jre\bin; ”
  • Modify My Computer--high-level environment variable->classpath, without which the variable value is: ".; %java_home%\lib;%java_home%\lib\tools.jar ". Be careful not to forget the front dot and the middle semicolon.

3. Verification

Enter cmd command in the Run box, enter java-version after carriage return, output the corresponding version

Or the Javac command appears as you can:

JDK Download and installation

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.