Skip to main content

Bytecode and the Virtual Machine

This video presents the same text shown beside it, spoken and on screen. It adds nothing the text does not say.

State

A compiler's back end can generate machine-independent code — bytecode, instructions for a virtual machine — so one compiled program runs wherever that virtual machine has been built.

Show

Java's compiler emits bytecode, and the program travels wherever a JVM already lives.

Watch for

The portability moved from the program to the machine's availability.