JVM: Java Virtual Machine Architecture and Structure

  • JVM is responsible for taking .class file and converting
    that .class file in machine code instructions that can be executed by
    microprocessor.
  • It’s not a machine, it’s a program.
  • JVM verifies the code before execution (Sandbox Security).
  • JVM is platform dependent and it is heart of Java language.

java program execution

There are four phases of JVM

  • Load Code
  • Verify Code
  • Execute Code
  • Provide Runtime Environment

Overview of Java virtual machine (JVM) architecture and structure

Java virtual machine architecture
Java Virtual Machine Structure

Leave a Comment

Your email address will not be published. Required fields are marked *