Best Way To Understand Difference Between JDK, JRE And JVM

difference-between-jdk-jre-and-jvm


  • First of understanding what is JDK, JRE and JVM? Then after understanding the difference between JDK JRE and JVM.
  • show the below image and imagination what is the difference between JVM, JRE and JDK.

1)  JVM (java virtual machine)


  • JVM usually work on byte code convert into the machine code
  • JVM is the "heart of the java ".
  • JVM other work like in garbage collection, memory management, and security management
  • The different operating system in a different JVM download so the windows type java code run on the mac os and compile easily with the help of the JVM
  • JVM is the platform-independent.

2)  JRE (java runtime environment)      


  • JRE provides a run time environment
  • without JRE java application is not built
  • JRE is the implementation of the JVM, its platform dependent
  • To execute any java program in the computer JRE is always need otherwise not run in the java program
  • JRE is a combination of the " jvm+ set of library + other files"

3) JDK (Java Development Kit)



  • JDK is the platform-specific software so its download in the different version(windows os, Mac os, Linux os, etc)
  • JDK in use to rin the java application, java enterprise application, an applet
  • JDK is the " combination of the jre+jdk+development tools  "☝
  • if u run in the java program download in the JDK and all of the things included in this file like JVM, JRE, development tools and other development class library
  • java is up-to-date language so different types of version update in JDK.

conclusion


  let's start talking Difference Between JDK, JRE And JVM.


  • JVM is the small and important part in compare to other and its platform-independent
  • JVM is helped to writing code convert into the machine code and its built-in java class file.

  • JRE is the help of the JVM execute code and its run in the device.
  • JRE provide run time environment, JRE is platform-dependent.

  • JDK is useful in the development purpose to make enterprise applications etc.
  •  JDK is the combination of JVM and JRE and it's platform-dependent

so it's all about in the Difference Between JDK, JRE And JVM


Post a Comment

Previous Post Next Post