Differences between JRE, JDK, and JVM in Java, javajrejdkjvm
1. Basic concepts of the three: 2. Differences between the three:
1. JDK is intended for developers and JRE is intended for users who use JAVA programs;
2. After JDK is installed, two sets of JRE will be generated, one is on the outside and the other is on the JDK. If it is only a Java User, only the JRE directory at the outermost layer will be available. JDK contains the built-in JRE.
3rd, the two sets of jress are used at the bottom. in JDK, java.exe first looks for them from its own directory, and then searches for the parent directory. If not, it goes to the Registry. You can specify a separate JRE or JDK when specifying a JRE.
4. The JVM cannot execute the class file separately. when interpreting the class, the JVM needs to call the library lib required for interpretation. In the jdk jre directory, there are two folders bin and lib. When bin is considered to be jvm, lib is the class library required for jvm work, jvm and lib are combined as jre (jvm + lib = JRE ).
To be continued...