Friday, August 03, 2007

JVM,The Java Orchestra

In most of programming languages when we compile a code, compilers turn high-level language constructs into machine instructions that reside in memory.But what about java ?Is this the same Scenario?no,it's not.So what really happens?Ok.As the platforms became diverse,it became difficult for programmers to implement a software that can run over these increasing platforms, so SUN Microsystems developed java that can be written once and be run everywhere.The main idea behind the the java platform was to create the a Virtual Processor as a software component ,called JVM.After this invention we can just write software for this specific processor.When we compile the java code it's converted into bytecode, and when we run it ,the byte code,the JVM interprets the bytecode which is considerd in this case the instruction set of the virtual processor,our orchestra.

Reference: Java World.

2 comments:

mohamad atef said...

Java is Great

Anonymous said...

You write very well.