JDK->JAVA DEVELOPMENT KIT is used to develope the java programs,
         It creates the environment in our machine to develope java programs.
         JDk includes compiler,this compiler converts our source code(.java) to byte code(.class).
JRE->JAVA RUNTIME ENVIRONMENT is used to run the java programs(.class).
         JRE is the implementation of JVM,So JVM internally uses JRE to execute programs.
JVM->JAVA VIRTUAL MACHINE convert byte code to different machine dependent codes,
         JVM interanlly uses JRE.JRE is the implementation of JVM,
         JVM implementation is depends on OS.
      ->Responsibilties of the JVM
         To load the code
         To verify the code
         To Convert the code
         Execute the code
Difference between JDK, JVM and JRE
ReplyDeletegreat nice tips