MyClass.
java [ Source code ]
compile
MyClass.class [ byte code ] What if we would
like to run this
run
code on other
JRE platforms?
JVM API
Windows
Compile once run
MyClass.class [ byte code ] anywhere [ on any
platform ]
run
JRE
JVM API
Linux
Compile once run
MyClass.class [ byte code ] anywhere [ on any
platform ]
run
JRE
JVM API
Macintosh