Java language Environment (JDK installation tutorial)

Source: Internet
Author: User

This document is written by Xu Haojun (32/64-bit systems apply)

1. Download the JDK installation package you

2. Click Install package to start the installation

3. First you have to choose the installation address in general, the default address will be selected.

(Please remember this address, you need to configure the environment variable later)

4. At this point, he will create this folder in the directory you specified.

5 then start the installation, that is, there is a folder created in it

6, then he will remind you again to choose the directory installation, many people this step is directly ignored, in fact, can not be ignored, then install a folder like this, you should install it in the first time to remember the address. (that is, installed in .../java in this folder)

7, the next step is to set the environment variable.

First right-click My Computer to open the Properties panel.

Click on the advanced system settings on the left to open the environment variable at the point

In the system variable, create a new java_home variable with the variable value set to C:\Program files\java\jdk1.8.0_101

(Of course, everyone put the directory is not the same, so according to their own installation of the directory modeled above, write up on the line)

Then, in the system variable, create a new classpath variable and add it after its variable value.; %java_home%\lib

(especially note that this variable value, you do not need to change, directly copy and paste on the line, remember, the first point of the number do not forget)

Finally select the path variable in the system variable, click the Edit button, add at last;%java_home%\bin

(Pay special attention to this variable value, you also do not need any changes, directly copy and paste on the line)

Click the OK button. The JDK is now ready to install.

The last is the test.

Open cmd. Input Java, showing the various information of Java,

Re-enter Javac, if the same information is displayed on Javac, then,

Congratulations, Java Environment JDK, you are ready to install.

Java language Environment (JDK installation tutorial)

Related Article

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.