1 Reply Latest reply on Mar 14, 2007 8:36 AM by 807597

    virtual machine

      im new in java programming i dont understand how the virtual machine work & what the benefit of using it for this reason is the java work platform independently
        • 1. Re: virtual machine

          The JVM is actually a "specification" - guidelines for others to follow & implement a standard JVM (including Sun Inc.). The JVM is the Java Interpretter that "runs" your Java Programs.

          The Java Compiler ( javac ) compiles the Java Source File into a Java "Class" File ( which, is again a Specification ) that contains "Machine Independent Byte Codes".

          The JVM reads the "Machine Independent Byte Codes" & converts these into "Machine Dependent System Codes". The "Machine Dependent System Codes" are specific to each Platform.

          I hope this explains the JVM stuff.