Java Virtual Machine
- Java is compiled to byte-codes
whose target architecture is the Java Virtual Machine (JVM)
- The virtual machine is embeddable
within other environments, e.g., web browser and operating system
- Utilizes a byte-code verifier
when reading in byte-codes. The Class Loader is employed for "classes"
loaded over the network (enhances security)
Detailed Description:
"At the bottom of the page is a picture showing the development process a typical
Java programmer uses to produce byte codes and execute them. The first box
indicates that the Java source code is located in a .java file, which is processed
with a Java compiler called javac. The Java compiler produces a file called a .class
file, which contains the byte code. The .class file is then loaded across the network
or loaded locally on your machine into the execution environment on that platform.
Inside that environment is the Java virtual machine, which interprets and executes
the byte code."
|