JDK JVM and JRE in Java

Hello friends how are you, today in this blog i will teach you what is JDK ,JVM and JRE, how JDK ,JVM and JRE work  in a very simple way. 

Let's start 

Difference between JDK,JVM and JRE

  • For better understanding and details knowledge of JAVA it is necessary to know the difference between JVM ,JRE and JDK.
  • JVM ,JRE and JDK are the three main elements of Java because of that when you appear in a Viva or Interview it is sure that at least one question is asked from these topics.


  • It stands for Java Virtual Machine.
  • JVM is the virtual machine that runs on actual machine and executes Java byte code.
  • It is called a virtual machine because it doesn't physically exist.
  • JVM provides a runtime environment in which Java bytecode can be executed.


  • It stands for Java Runtime Environment.
  • It provides runtime environment for a java program.
  • It is a combination of JVM and set of libraries.
  • The set of library is used by JVM at runtime.


  • It stands for Java Development Kit.
  • It contains all the library which is used to develop and run a java application.
  • It is a combination of JRE and set of development tools.

From the above diagram of we can see that JDK is a collection of JRE , JVM and development tools.

Request:-If you found this post helpful then let me know by your comment and share it with your friend. 
If you want to ask a question or want to suggest then type your question or suggestion in comment box so that we could do something new for you all. 

If you have not subscribed my website then please subscribe my website. 

Try to learn something new and teach something new to other. Thanks.

Post a Comment