Skip to content

JVM - Java Virtual Machine

  • it’s a specification for a virtual machine which the JRE implements.
  • virtual machine which translates and executes(interprets) the java byte code and execute it.
  • any java command executed in CLI, creates an instance of JVM.
  • JVM calls the main() method for the given java application
  • Specification for Java SE 8 - https://docs.oracle.com/javase/specs/jvms/se8/html/
  • JVM - Executes the bytecode generated by the compiler, Makes java code platform-independent

image.png