Q. What is the difference between JDK, JRE, and JVM?

A
JRE = JDK + JVM
B
JDK = JRE + Development Tools
C
JVM = JRE + JDK
D
They are all the same
Solution:

JVM (Java Virtual Machine) is the abstract machine that executes Java bytecode. JRE (Java Runtime Environment) includes the JVM and library classes needed to run Java applications. JDK (Java Development Kit) includes the JRE plus the tools needed to develop Java applications (like the compiler and debugger).

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!