CS506 GDB Solution Spring 2012

Java claims WORA (write once and run anywhere). Do you agree with this statement that all java programs can be run anywhere (all platforms)? Can you identify a scenario where this claim may not hold true?

Write once, run anywhere” (WORA), or sometimes write once, run everywhere (WORE), is a slogan created by Sun Microsystemsto illustrate the cross-platform benefits of the Java language.[1][2] Ideally, this means Java can be developed on any device, compiled into a standard bytecode and be expected to run on any device equipped with a Java virtual machine (JVM). The installation of a JVM or Java interpreter on chips, devices or software packages has become an industry standard practice.
This means a programmer can develop code on a PC and can expect it to run on Java enabled cell phones, as well as on routers andmainframes equipped with Java, without any adjustments. This is intended to save software developers the effort of writing a different version of their software for each platform or operating system they intend to deploy on.