• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
September 20, 2022 |3.7K Views
How JVM works and it's architecture
Description
Discussion

JVM (Java Virtual Machine) acts as a run-time engine to run Java applications. JVM is the one that actually calls the main method present in a java code. 

JVM is a part of JRE(Java Runtime Environment). Java applications are called WORA (Write Once Run Anywhere). This means a programmer can develop Java code on one system and can expect it to run on any other Java-enabled system without any adjustment. This is all possible because of JVM. When we compile a .java file, .class files(contains byte-code) with the same class names present in .java file are generated by the Java compiler. 

This .class file goes into various steps when we run it. These steps together describe the whole JVM. So in this video lets have a look on the Architecture of JVM.

How JVM works? JVM Architecture: https://www.geeksforgeeks.org/jvm-works-jvm-architecture/