Java Notes 13
Java Notes 13
The JVM is the software that executes Java bytecode. A Java program,
written in a file with a .java extension, is c ompiled into class files that have
a .class extension. The class files are written in bytecode. To execute these
files, the computer uses the JVM to interpret the bytecode. A browser that is
capable of executing Java applets has the JVM built into it. To run a Java
application, the Java Runtime Environment (JRE) must be installed. The
bytecode is the same for all platforms, but the JVM will be different on
different platforms because it needs to execute programs using the native
code of the machine it is running on.