Published in


Difference between JVM, JRE, and JDK

Uploaded on my Youtube Channel Smartherd
  1. JRE is a combination of JVM and a set of libraries.
  2. JDK is a combination of JRE and development tools.

JVM (Java Virtual Machine)

  • It is virtually present in a device. i.e. it has no physical presence on your device. It just provides a virtual environment for code execution. This means JVM does not execute any code, it just provides a suitable environment.
  • JVM is platform dependent. For each software and hardware, we have a different JVM configuration that would work only for that particular device.

JRE (Java Runtime Environment)

JRE = JVM + Library Set
  • It is the implementation of JVM.
  • To run any Java code JRE is required at a minimum.
  • JRE contains a set of libraries that JVM uses at runtime.
  • JRE physically exists, unlike JVM which has no physical existence.
  • JRE is platform-dependent just like JVM.

JDK (Java Development Kit)

JDK = JRE + Development Tools

Here, is the pictorial summary.




Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sriyank Siddhartha

Sriyank Siddhartha


Tech enthusiast, love coding, and love to make videos on my YouTube channel Smartherd.