Java – JVM Architecture

The JVM (Java Virtual Machine) is an abstract machine. This is a specification that provides a runtime environment that can execute the Java bytecode.

Java – Internal Representation Of Program

In Java, programs are not compiled into executable files,they are compiled into bytecode , then JVM (Java Virtual Machine) executes this at runtime. Java source code is compiled into bytecode when we use javac compiler. Bytecode is stored on disk with a file extension like .class.