Bytecode A standard machine language into which Java source code is compiled 228 Chapter 8 High-Level Programming Languages achieve optimum portability, Java is compiled into a standard machine language called Bytecode . How can there by a standard machine language ? A software interpreter called the JVM (Java Virtual Machine) takes the Bytecode program and executes it. That is, Bytecode is not the machine language for any particular hardware processor. Any machine that has a JVM can run the compiled Java program. Be aware of the difference between the portability achieved by standard-ized high-level languages and the portability achieved by translating Java into Bytecode and then interpreting it on a JVM. A program written in a high-level language can be compiled and run on any machine that has the appropriate compiler. The program is translated into machine code that is directly executed by a computer. A Java program is compiled into Bytecode and the compiled Bytecode program can be run on
This is the end of the preview.
access the rest of the document.
machine language, Bytecode, standard machine language