Professional Documents
Culture Documents
Java Virtual Machine (JVM) is a engine that provides runtime environment to drive the
Java Code or applications. It converts Java bytecode into machines language. JVM is a
part of Java Run Environment (JRE). In other programming languages, the compiler
produces machine code for a particular system
Example of Compilers:
The Java Virtual Machine manages system memory and provides a portable execution environment for
Java-based applications.
ROLE of JVM
The JVM has two primary functions: to allow Java programs to run on any device or operating system
(known as the "Write once, run anywhere" principle), and to manage and optimize program memory.