Saturday, 13 May 2017

JP - JDK JVM JRE ~ foundjava

Difference between JDK, JVM and JRE

Jvm, Jre, Jdk these all the backbone of java language. Each components have separate works. Jdk and Jre physically exists but Jvm are abstract machine it means it not physically exists.
jvm, jdk, jre

JVM

JVM (Java Virtual Machine) is a software. It is a specification that provides runtime environment in which java bytecode can be executed. It not physically exists.
JVMs are not same for all hardware and software, for example for window os JVM is different and for Linux VJM is different. JVM, JRE and JDK are platform dependent because configuration of each OS differs. But, Java is platform independent.

JRE

The Java Runtime Environment (JRE) is part of the Java Development Kit (JDK). It contains set of libraries and tools for developing java application. The Java Runtime Environment provides the minimum requirements for executing a Java application. It physically exists. It contains set of libraries + other files that JVM uses at runtime.
jre

JDK

The Java Development Kit (JDK) is primary components. It physically exists. It is collection of programming tools and JRE, JVM.
jkd

No comments:

Post a Comment