Java Basics: JDK JRE path CLASSPATH related issues

Source: Internet
Author: User

Jre:java Operating Environment

Jdk:java Development Kit, including JRE (Javac, Java, JAVAP, jar, Javadoc, Javah, etc.)

Jvm:java virtual Machines

Path:windows Environment variables

Classpth:java program Runtime class load path ( not javac required path at compile time, is the path required when Java command is run ) Configure CLASSPATH to. Represents the current directory

Java_home:windows System TEMP Variable systemroot (https://baike.baidu.com/item/SystemRoot/1786463)

After the JDK installation is complete, you will be prompted to install the JRE (public JRE, the Java operating environment required for the system to run), and a JRE directory under the JDK installation directory for use in Java, Javac and other tools. JDK installation directory do not use spaces and Chinese names, and note that if the public JRE is successfully installed, note that the systemroot directory includes the Java Command tool.

In addition, in the actual development, it should be noted that the program is compiled with the JDK version and the program run with the JDK version, may lead to related issues.

The specific functions of Tools.jar and Dt.jar in Lib directory

When you configure path in a Windows system, you are divided into user variables, system variables (configurable multiuser in Windows), such as system variables configured for any user in that Windows, and user variables, for the current user only.

Java Basics: JDK JRE path CLASSPATH related issues

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.