Search code examples
javajvm-hotspot

Which is the correct implementation of JVM?


I just read JRE is an implementation of JVM and HotSpot VM is also an implementation of JVM. Which one

is correct ?


Solution

  • Java Virtual Machine is a specification that allows vendors implement different versions.

    Wikipedia has a list of different JVMs.

    Oracle Java SE HotSpot is one JVM implementation out of many that is able to compile java code to native code "just-in-time".

    JRE is simply a JVM implementation plus an implementation of the standard Java API and libraries and some other stuff.