JVM - Java Virtual Machine
- it’s a
specificationfor a virtual machine which theJRE implements. - virtual machine which translates and executes(interprets) the java byte code and execute it.
- any
javacommand executed in CLI, creates aninstance of JVM. JVMcalls themain()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
JVM Architecture
Section titled “JVM Architecture”