Java tutorial, "Installation of JDK and configuration of environment variables"

Source: Internet
Author: User
Tags java se

The JDK (Java Development Kit) is the Java Language Software Development Kit (SDK).

Open Oracle website, url http://www.oracle.com

Click Menu-developers--downloads

Page DOWN, click Java SE

Page DOWN to find the Java archive click on the Download button on the right.

Click on "Java Se 8"

Agree to the license agreement and select the version you want to download

To install the JDK:

Double-click Jdk-8u144-windows-x64.exe

Next

Select the installation path and click Next

Next

Click Close to complete the installation

Next: Configure the JDK environment variables

Right-click Computer---Properties

Click "Advanced System Settings"

Click on "Environment variables ..."

Click the user variable-New button

Note: Environment variables are divided into user environment variables and system environment variables, user environment variables are valid for the current user, the system environment variable is valid for all users of this system, it is said that the scope of the system environment variable is greater than the user environment variable, it is generally recommended to configure user environment variables.

Set the variable name to Java_home, the variable value is the JDK installation path, click the "OK" button.

Click the new User environment variable button again

The variable name is set to path, the value of the variable is%java_home%\bin, if the path variable already exists, you do not need to create, directly edit the path variable, the path variable can set multiple paths, multiple paths separated by semicolons [;] For example:%java_home%\ Bin;%m3_home%\bin

Next step: Verify that the JDK is installed successfully

Start---Run---cmd "windows+r"

Enter the Java–version command

Java tutorial, "Installation of JDK and configuration of 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.