Java Development Environment Building

Source: Internet
Author: User

What is the relationship between the JDK and the JRE?

A: The JDK is the abbreviation for Java Development Kit, which refers to the SDK used by the developer, which provides the Java development environment and the operating environment. The JRE is the abbreviation for Java Runtime enviroment, which refers to the Java Runtime Environment, which is intended for users of Java programs. The JDK contains the JRE.

Second, how to configure environment variables?

A: "My Computer" and "System Properties" and "Advanced" and "Environment variables" are set.

1. Create a new system environment variable java_home, with the value of the JDK installation directory, such as C:\Program files\java\jdk1.8.0_45

2. Set the system environment variable path, add%java_home%\bin

3. New environment variable CLASSPATH, variable value is.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; (Note that there is "." In front, don't neglect it)

Third, how to test the Java environment variables to build success?

A: After configuring the environment variables, open the Command line window, enter "Java-version" To view the Java version, the Java environment was built successfully. You can also enter "Java-verbose" to view JDK detailed loading information.

Please specify the source of the reprint, thank you. Small qq:1396667216, Welcome to Exchange "

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.