JVM JRE AND JDK OF JAVA

Information about the Java Virtual Machine, Java Runtime Environment and Java Development Kit.

Shweta Jadhav
2 min readAug 18, 2020

JVM :-

JVM is Java Virtual Machine. It is an abstract machine. It provides runtime environment in which Java byte code can be executed. It is platform dependent as it is available for many hardware and software platforms.

When a Java command is written on command prompt to run the Java class, an instance of JVM is created. JVM performs operations like loading code, verifying code, executing the code and providing the runtime environment.

For more information about JVM architecture you can go through my previous article of JVM Architecture.

JRE :-

JRE is Java Runtime Environment. It is a set of software tools which are used for developing Java applications. It provides runtime environment. It is the implementation of JVM and it physically exist. It contains a set of libraries + other files that JVM uses at runtime.

JDK :-

JDK is Java Development Kit. It is software development environment which is used to develop Java applications and applets. It contains JRE + development tools. For completion of Java application it contains resources such as interpreter, compiler, documentation generator, etc.

--

--