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