#The Java virtual machine is also a good example of a virtual machine. #Consider the typical compilation-linking process using C. Source code is #compiled into machine readable object code, afterwhich it is linked to produce #a binary executable. The object code in itself is tied to the architecture #(thus OS can only be ported to other architectures once a port of the compiler #exists for the architecture to be ported to). #
Nice quick virtual machine 101 ;) Anyway, I think Java doesn't fall in the compile-link tandem as with in other systemrs because after building bytecode for each class (compile), the classes don't need to be linked into a specific executable format since each class is a potential entry point -- the Java runtime only looks for a methond with a specific signature (public void main( String[] args ) ) stay cool. jeff -- -- Jeff Gutierrez Mapua Online! http://www.mapua.org http://www.mapua.com http://www.mapua.net Pinoy Ako! May reklamo? _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
