Skip to main content

Difference between JVM, JDK, JRE

Learn Difference between JVM, JDK, JRE (Java Basics, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

1. Introduction The JVM (Java Virtual Machine) loads, verifies and executes bytecode . The JRE (Java Runtime Environment) is the JVM plus the core class libraries needed to run a program, and the JDK (Java Development Kit) is the JRE plus development tools such as javac, javadoc, jar and jdb. In short, JDK contains JRE and JRE contains JVM The JVM itself is a specification with implementations such as HotSpot , OpenJ 9 and GraalVM .

More lessons in Java Basics