posted 23 years ago
in my opinon,the feature of platform-independency is implemented by platform_DEPENDENT JVMs,when you compile a xxx.java file, you get a xxx.class file which is platform-indenpendent,but you cant run xxx.class without a JVM, in Windows, you must run your xxx.class with a windows version JMV,while in Solaris system, you need a solaris version.so it's up to JVM to accomplish the independency.
complier is platform-dependent too,that's where the different versions of jdk come,but you get identical xxx.class file regardless of the underlying OS.
it's my understanding, if i'm wrong please correct me
[This message has been edited by James Du (edited March 26, 2001).]