Building the Java Development environment (Configuring the Java Development environment)

Source: Internet
Author: User

First, install the JDK

1. JVM (Java virtual Machine-java vm)

JRE (Java runtime Environment-java Runtime Environment)

JDK (Java Development Kit-java Development Kit)

2. The JDK contains the JRE and JVM, so installing the JDK installs the JRE and JVM,JDK installation packages to the Oracle official Web site or to a third-party website for download, which is provided by the official:

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

(Many versions, choose the applicable version, omit the installation process, the next step in the installation time)

Second, configure environment variables

Java_home Configuring the JDK installation path

PATH to configure the location of the JDK command file

CLASSPATH Configuring the location of a class library file

1. My Computer (right-click)-Properties

2. Advanced system settings-environment variables

3, the system variable comes with no java_home this variable, need to edit the following:

(The variable value is the path to the JDK installation)

4, path in the system variable is already exist, check path--> edit

--First enter the path of the bin (separate the other paths with semicolons)

5, the system comes with the variable is no classpath, need to add

--with "." Represents the current path

--with ";" Separated

--Enter the path to BIL (e.g. my path is: C:\Program files\java\jdk1.8.0_60\lib)

Configuration here to the end, remember to press OK, not sure is not to save their own.

Third, verify the configuration environment variables

Open run Àcmdà input java/javac for verification (the effect of validation is as follows)

If you see this effect, congratulations on your configuration success.

Building the Java Development environment (Configuring the Java Development environment)

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.