Comparison between JVM, JRE, and JDK?
JVM | JRE | JDK |
Acronym for Java Virtual Machine. | Acronym for Java Runtime Environment. | Acronym for Java Development Kit. |
Provide runtime environment to execute the Bytecode. | Implementation of JVM. Software tools used to develop java applications. | Software development environment that are used to develop various java applications and applets. |
Specification given by the Oracle and other companies | Provide run time environment. | JDK has the JRE and development tools. |
Following are the three notions of JVM:
· Specification · Implementation, and · Instance. |
Contains a set of libraries and other files that are used by JVM at runtime. | Following are the three edition of JDK:
· Standard Edition Java Platform · Enterprise Edition Java Platform · Micro Edition Java Platform |
Above is the Comparison between JVM, JRE, and JDK.
Must Read – JIT Compiler and Platform