Here we will discuss about difference between Java Virtual Machine, Java Runtime Environment and Java Development Kit.
Before reading, you should know the structure of these three terms.
Before reading, you should know the structure of these three terms.
- The JDK is the biggest part of the java system where JRE and JVM are parts of it. Not only JRE and JVM but also some development tools included, javac and java itself.
- JVM is not directly connected to JDK, JVM is inside JRE. JRE has JVM and library classes.
- JVM deals with loading of codes, verification of codes, execution of codes and provides runtime environment.
You can unterstand above statements using below image.