♠ Posted by Unknown in Core Java at 22:53
[JVM] Java Virtual Machine
All language compilers translate source code into machine code. For a specific computer. Java compiler also does same thing. The Java compiler produces an intermediate code known by bytecode for machine that does not exists. This machine is called the Java Virtual Machine and it exists only inside the computer memory. It is a simulated computer within the computer and does all major functions of a real computer. Below figure illustrates the process of compiling a Java program into bytecode which is also referred to as virtual machine code.
The virtual machine code is not machine specific. The machine specific code (known as Machine code) is generated by the Java interpreter by acting as an intermediary between the virtual machine and the real machine as shown in below figure. Remember that the interpreter is different for different machines.
0 comments:
Post a Comment