Skip to main content
Three Components
• JDK - Java Development Kit
• JVM – Java Virtual Machine
• JRE – Java Runtime Environment
JDK
• Writing Java applets and applications needs development
tools like JDK.
• Java developers are initially presented with two JDK tools,
java and javac.
• Both are run from the command prompt.
• It's easy for both new and experienced programmers to get
started.
JDK Architecture
JRE
• JRE is an acronym for Java Runtime Environment.
• It is also written as Java RTE.
• The Java Runtime Environment is a set of software
tools
• It physically exists.
• It contains a set of libraries + other files that JVM
uses at runtime.
JRE Architecture
JVM
• JVM is a engine that provides runtime environment
to drive the Java Code or applications.
• It converts Java byte code into machines language.
• Java compiler produces code for a Virtual Machine
known as Java Virtual Machine.
JVM Architecture
USES of JDK, JRE, JVM
• The Java Virtual Machine is built right into
your Java software download, and helps run
Java applications.
• The JRE allows applets written in the Java
programming language to run inside various
browsers.
JVM Performance
Loads Code
Verifies
Code
Executes
code
Runtime
Environment
JVM WORKS
Verifying
Code
Lining code
Reading
Code
Types of JVM
Java Hot Spot
Client VM
Java Hot spot
Server VM
Difference Between JDK, JRE, JVM
CONCLUSION
• The Java Runtime Environment is the on-disk program that
loads Java applications for the JVM to execute.
• It's helpful to understand how the JVM, JDK and JRE
interact, especially for working in cloud and devops
environments.
• Also used for Development Applications.
JAVA  ENVIRONMENT