Skip to content

JDK, JRE, JVM

  • JDK
  • Create java programs. Takes the source code and convert executable format
  • Debuggers
  • Java compiler (creates the .class files)
  • Comes with the JRE in it
  • JRE
  • Run java program
  • Libraries
  • Java launcher (the JVM)
  • JVM:
  • It's a part of the JRE
  • It's a machine that only runs java code
  • The JVM and be created in many different operating systems
  • Java JDK doesn't compile the code for the OS but for the JVM
  • It makes java a little slower than the other languages

Heap

  • Heap is the memory of the instanciated objects
  • The place where the objects are stored