Saturday, January 3, 2015

Difference between JDK, JRE and JVM

Understanding the difference between JDK, JRE and JVM is important in Java. We are using JDK, JRE and JVM daily, but many of us not knowing the difference of them. Let we discuss the difference between JDK, JRE and JVM.

JVM

JVM is the short form of Java Virtual Machine. It is a specification that provides runtime environment to execute the java bytecode. JVM is platform dependent because configuration of each OS is differ. But we know that, java is platform independent because java bytecode can be executed in any platform.

JRE

JRE is the short form for Java Runtime Environment. JRE is providing the runtime environment. JRE is the implementation of JVM. It physically exist. It contains set of libraries and set of files that JVM uses at runtime.

JDK

JDK is the short form of Java Development Kit. It physically exist. It contains JRE and Development tools.



No comments:

Post a Comment