Configuration of the Java development environment

Source: Internet
Author: User

1. Download the JDK (JDK>JRE>JVM);

2. Install the JDK;

3. Configure the environment variables.

Java_home: Configure the JDK installation path;

PATH: Configuring the location of the JDK command file (javac.exe,java.exe)

CLASSPATH: Configuring the location of the class library file (Lib)

A.path,classpath (Configuration of environment variables)

1. The main purpose is to retrieve files conveniently, if you execute a file, do not go to the directory where the file is executed, then the operating system will be retrieved in the path path, unique to the Windows operating system.

2.ClassPath is the classpath, the Java runtime looks for the path to the class file, the Java environment variable.

B. Command execution Javac compile and Java run.

My Computer (right-click)-Properties, advanced system settings-environment variables.

Configuration of 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.