JVM

The program that loads class files and runs their bytecode, turning hot code into native machine instructions while it runs.

In more detail

JVM stands for Java virtual machine. It does not run Java source code; it runs bytecode, so it can also run class files produced from other languages such as Kotlin. It loads each class the first time it is needed, verifies it, interprets it, and uses a JIT compiler to turn frequently used methods into native code. Despite the name it is an ordinary program, not a full virtual computer with its own operating system.

Example

java Hello  # starts the JVM and runs the class named Hello

Related terms

Taught in

References

Certification courses