Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is java os or platform independent?

 
srhl ram
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is os independent or platform independent?
is java os independent or platform independent?


thanks in advance.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Being able to run the very same Java byte code on many different hardware platforms and operating systems was a goal called "write once, run anywhere" from the beginning. This means the Java language and library can't do anything that works on Windows only or Unix only. So you'll find some things missing from Java that are simple in platform-specific languages like VB, or with platform-specific libraries in C.

To make this work, somebody has to implement a JRE on each new hardware platform and operating system. This is a competitive area and Sun is not the only implementor you can choose.

Does that help?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic