i

JAVA Complete Course

Java Virtual Machine Architecture

As we mentioned in previous chapters, Java was created with the idea of WORE (write once, run everywhere). Virtual Machine is a software implementation of any physical machine and Java also runs on it. After compiling java code, we are getting .class files, which is input for JVM (Java Virtual Machine). Below is an architecture of JVM:

As we see from the image, JVM is divided into three subsystems:

  • Class Loader

  • Runtime Data Access

  • Execution Engine