Tuesday 4 November 2014

JVM vs. JDK vs. JRE

JVM -
A Java virtual machine (JVM) is a virtual machine that can execute Java bytecode. It is the code execution component of the Java software platform.JVM have different implementation based on operating systems( windows, linux , mac etc )
JDK -
The Java Development Kit (JDK) is an Oracle Corporation product aimed at Java developers. It is basically a super set  of JRE  which also include some tools like compilers, debugger etc.Since the introduction of Java, it has been by far the most widely used Java Software Development Kit (SDK).
JRE -
JRE is an acronym for Java Runtime Environment. It is used to provide runtime environment.It is the implementation of JVM.It physically exists.It contains set of libraries + other files that JVM uses at runtime. Implementation of JVMs are also actively released by other companies besides Sun Micro Systems.