The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Re

Posted by saddy on February 16, 2001 at 1:21 PM

when u compile ur program in java then ur program is converted into intermediate byte code i.e .class file these intermediate byte code are executed by jvm which is different for different machine. the jvm understands the .class file and executes according to OS thus java is platform independent as the .class file created in windows can be executed on unix platform.
JVM is not platform independent it is different for different OS

saddy

> 1>how java is plat formindependent?
> 2> is the jvm is different for different o.s?





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us