Java Development Environment Building

Source: Internet
Author: User

First, install the JDK

JDK website address: http://www.oracle.com/technetwork/java/javase/downloads/index.html

On the download page, you will need to choose to accept the license and download the corresponding version according to the different configuration of your computer system. (Currently operating system 64-bit for example)

Second, after the successful download, double-click the download file.


Always click "Next" to perform the installation.

After the installation is complete, the folder is visible.

Third, configure environment variables.

You need to configure three:

Java_home: Configuring the JDK Installation path

PATH: Configuring the location of the JDK command file

CLASSPATH: Configuring the location of a class library file

Configure Java_home to specify the JDK installation directory.

Configuration Path,path variable system itself already exists, only need to click the path variable edit, add Jdk-10/bin.

Configure the classpath, you need to create a new system variable, the Jdk-10/lib can be added (before the path must be preceded by.; [Full period and semicolon]).

Iv. confirm that the Java environment is installed successfully after saving.

Open the cmd command and enter the Java carriage return to display the usage hints.

Enter Javac carriage return to display the usage hints.

This shows that there is no problem in configuring the Java environment.

Java Development Environment Building

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.