Configuring the Java Development environment

Source: Internet
Author: User

  

The leader requires Java to do interface testing, so the first step is to build the Java development environment first.

First step: Install the JDK

1, understand

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 package refer to the Oracle official website address download: http://www.oracle.com/technetwork/java/javase/ Downloads/index.html

(Many versions, choose the appropriate version and the system for installation.) Installation steps Step by step next is good. Remember the above to choose Accept, otherwise cannot download yo. )

Step Two: Configure Environment variables (Control Panel--user account--change user account--Change my environment variable on the left)

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. Java_home: The system variable is not java_hone this variable, you need to edit the following: (Variable value is the installation address of the JDK.) )

2. PATH: (Address of the bin under JDK)

3.CLASSPATH: (Address of the JDK under Lib)

--with "." Represents the current path

--with ";" Separated

--Enter the path of BIL

Step three: Verify that the Java environment is configured successfully

Win+r---cmd---Java or javac, congratulations on your successful configuration, you can start your Java coding journey.

Configuring the Java Development environment

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.