Difference Between JVM, JRE and JDK

Software JDK contains JRE (Java Runtime Environment)
JRE contains JVM (Java Virtual Machine)
JVM contains JIT (Just In Time)
Once we install the JDK all other components of JDK get installed.

JDK, JVM and JRE
JDK, JVM and JRE

JVM        

  • JVM stands for Java Virtual Machine.
  • JVM also called a Virtual machine.
  • JVM is a abstract machine.
  • JVM converts Java byte codes into Native Instruction for the platform.
  • Specification of JVM that provides a runtime environment in which Java bytecode can be executed.
  • JVM also runs code that are written in other languages.
  • JVM are available for hardware platform as well as software platforms.

JRE         

  • JRE is an acronym for Java Runtime Environment.
  • JRE used to provide a run time environment.
  • It contains a set of libraries and other files that are used by JVM at run time.
  • The JVM ia a software that are used for developing applications in java.

                                                            JDK

  • JDK stands for Java Development Kit.
  • The JDK basically a set of tools that helps in developing java applications.
  • JDV includes tools like Compilier and Debugger.
  • The JDK is a software development environment which is used to develop Java applications.

Oracle Corporation released Java Platforms :

  1. Standard Edition Java Platform  (SEJP)
  2. Enterprise Edition Java Platform  (EEJP)
  3. Micro Edition Java Platform  (MEJP)