JVM, JRE,JDK

Source: Internet
Author: User
The JVM interprets the class Java virtual machine, explaining the compiled class file to the system: The Java code is compiled into a. Class machine instruction, can be run in the JVM, directly to the hardware execution, the implementation of cross-platform, as long as the operating system installed the JVM, can execute, This CS program is independent of the specific operating system. The BS system can be executed as long as there is a JVM in the browser. The JRE runs the Java program, which contains the Java class library called by the JVM and Java programs, and is run all over the time because of the use of the JRE as a mediator of the Java program and the operating system.    Also called the Java plugin. The operating environment for Java programs is now version 6.0. Contains the JVM (the bin that corresponds to the JRE in the JDK installation directory) and the Java Class Library (Lib for the JRE in the JDK installation directory). The JRE is related to the specific CPU structure and operating system, and we see different versions when we download the JRE from Sun. JDK Development Java program, but Eclipse and other IDE have compiler, only with JDK JRE now we can see a relationship where the JDK contains the JRE, and the JRE contains the JVM. In the post-installation directory There are six folders, a SRC class library source code compression package, and several other declaration files. One of the four folders that really worked when running Java was the following: Bin, include, Lib, JRE. Bin: The main thing is the compiler (Javac.exe) Include:java and JVM interaction with the header file Lib: Class library Jre:java operating Environment (note: Here the bin, Lib folder and the bin in the JRE, Lib is In general, the JDK is used for Java program development, while the JRE is a function that can only run class without compiling. Other Ides such as Eclipse, idea, and so on have their own compilers instead of the JDK bin directory, so you'll find them only asking you to check the JRE path when installing.

JVM, JRE,JDK

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.