10 pts.
 JAVA! Isn’t effort saved spent elsewhere?
OK. So, JAVA is said to be platform independent since it generates Bytecode on compilation. There is a JVM for each platform which avoids the need for having a JAVA compiler for each platform. Does that not indicate that the effort saved in writing  Java compilers  for each  platform was spent in writing JVMs  for each  platform?

Software/Hardware used:
JVM
ASKED: October 30, 2010  3:01 PM
UPDATED: November 3, 2010  2:33 AM

Answer Wiki:
JVM or Java Virtual Machine is an in-built mechanism of modern OS. and it is found also in browser or later may configure it. In my case, it is not necessary to write jvm for each platform !
Last Wiki Answer Submitted:  October 31, 2010  6:56 am  by  Subhendu Sen   22,035 pts.
All Answer Wiki Contributors:  Subhendu Sen   22,035 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Does that not indicate that the effort saved in writing Java compilers for each platform was spent in writing JVMs for each platform?

Maybe, but, do you think that the reason they did things that way was because they wanted to save the effort of writing compilers ?

 63,535 pts.

 

Does that not indicate that the effort saved in writing Java compilers for each platform was spent in writing JVMs for each platform?

Not much more so than for any language interpreter or compiler that can be run on different platforms. A COBOL compiler was written for AS/400s and another was written for Windows 2000.

One big difference is that a certified JVM is practically guaranteed to allow a java program to run the same on an AS/400 as it does on W2k. Or on z/OS. Or on Ubuntu Linux.

ILE COBOL isn’t likely even to compile under Micro Focus COBOL, and COBOL has been “standardized” a lot longer than JVMs.

Tom

 108,135 pts.