Difference jdk, jre, jvm and contact

As a java development engineer, I do face questions, when even do not understand jdk, jre, jvm differences and connections, and true too dishes. But eating a cutting wisdom, a lot to learn still relatively good.

JVM: java virtual machine to compile and run java program will compile java files into .class be interpreted.

  JVM > JDK > JRE

JRE: Java Runtime Environment refers to the need to invoke various Java Class library file is run, namely class file is run, you need to call various libraries, you need to rely jre lib in the library can be considered jvm + lib composition jre

We can look at the part of the lower part of the JRE and JDK

jdk structure as shown below:

 

          

 

 

 

 

 

 

 

 

JRE structure as shown below:

Similarly JDK includes the JRE.

Guess you like

Origin www.cnblogs.com/l-x-x-y-d-j/p/11344245.html