Classroom essay "Java" First lesson JDK download, installation and configuration

Source: Internet
Author: User
Tags java se

Preface:The first step in learning Java programming is to install the JDK, which is the first step in Java development and Android development. Here's how to download and install the JDK from the official website and test if the installation was successful. . First, the JDK download

Address: HTTP://WWW.ORACLE.COM/CN

1. Hover over the download, then click on select Java SE

2. Click Java SE, then select the Download bar, then click Go to download the catalogue

3. Enter the download directory select "Accept license Agreement" or the official will not allow the download. And then find the corresponding computer system and the operating system to download

Ii. installation of JDK 1. Select the development tool first, then select the installation path, then Next, next ... It's ready for installation.

2. Start-and-run->cmd->java-version if you can see the following interface, indicating that the installation was successful

Third, configure environment variables

Right-click My Computer, properties, advanced environment variables, modify the values in the box below the system variable.

1. Add Java_home variable

Java_home Variable Value: is the root directory of your JDK installation

Java_home is a variable, once defined can be repeatedly referenced, the reference method%java_home%

2. add content to path

%java_home%\bin;%java_home%\jre\bin;

Before adding to the path variable, do not change the value of the variable. Note separated by semicolons

3. Increase Classpath

New CLASSPATH variables, system variables

Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point first and (in English) a semicolon begins)

We have finished downloading, installing and configuring the JDK here.

Classroom essay "Java" First lesson JDK download, installation and configuration

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.