Search This Blog

If you like any posts in this blog then click this icon which is present under the post

Thursday, 2 June 2011

Java Virtual Machine

      Java compiler compiles the source code and produces a machine independent intermediate code called bytecode. This  code cannot be used dirctly by the computer. This intermediate codes are called java virtual machine (JVM).
      These intermediate codes can be used by any machine with the help of the correct interpreter. The interpreter produces the machine dependent code called machine code can be run by the computer.
       
--->sourcecode--->java compiler--->bytecode--->javainterpreter--->machinecode

     This shows the steps involved in executing a java pragram.

No comments:

Post a Comment

Followers