What Is the Difference Between JDK, JRE and JVM?

It is essential for Java programmers to understand the difference between JDK, JVM, and JRE. So let's discuss them in brief.


JDK is abbreviated as Java Development Kit which has a physical existence. It can be considered as a kit inside which resides the JRE along with developing tools within it. The programmers and developers mostly use it.


JVM is abbreviated as Java Virtual Machine, is basically a dummy machine or you can say an abstract machine which gives Java programmers a runtime environment for executing the Bytecode. For each execution of your program, the JDK and JRE come into use, and they go within the JVM to run the Java source code.


JRE is abbreviated as Java Runtime Environment, as the name suggests used as a package that gives an environment to run the Java program on your machine.

Subscribe Updates via Email

Join 49,000+ W3schools lovers and get all the latest tutorials, programs, algorithms in your inbox.