JAVA! Isn’t effort saved spent elsewhere?

10 pts.
Tags:
Compilers
Java
JAVA jvm
JVM
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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 !

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    "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 ?
    68,495 pointsBadges:
    report
  • TomLiotta
    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
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following