- Write once, run anywhere
"Write once, run anywhere" (WORA), or sometimes "Write once, run everywhere" (WORE), is a slogan created by
Sun Microsystems to illustrate thecross-platform benefits of the Java language. [cite web
url=http://www.sun.com/smi/Press/sunflash/1996-01/sunflash.960123.10561.xml
title=JavaSoft ships Java 1.0
publisher=Sun Microsystems
quote="Java's write-once-run-everywhere capability along with its easy accessibility have propelled the software and Internet communities to embrace it as the de facto standard for writing applications for complex networks"
date=1996-01-23
accessdate=2008-08-03] Ideally, this means Java can be developed on any device, compiled into a standardbytecode and be expected to run on any device equipped with aJava 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 phone s, as well as onrouter s and mainframes 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 oroperating system they intend to deploy on.The catch is that since there are multiple JVM implementations, on top of a wide variety of different operating systems such as Windows,
Linux , Solaris,NetWare ,HP-UX , andMac OS , there can be subtle differences in how a program may execute, which may require an application to be tested on various target platforms. This has given rise to the joke among Java developers, "Write Once, Debug Everywhere". [cite web
url=http://electronicdesign.com/Articles/Index.cfm?ArticleID=2255&pg=3
title=Write Once, Debug Everywhere
publisher=electronicdesign.com
last=Wong|first=William
quote="So far, the "write-once, run-everywhere" promise of Java hasn't come true. The bulk of a Java application will migrate between most Java implementations, but taking advantage of a VM-specific feature causes porting problems."
date=2002-05-27
accessdate=2008-08-03] However, for a developer, the abstraction layer that Java provides is usually more convenient than recompiling software for each combination of operating system and architecture that it should run on and still represents a significant reduction in work when developing and supporting an application on multiple platforms.Fact|date=November 2007References
ee also
* Criticisms of cross-platform development and this slogan
*Write once, compile anywhere
*C to Java Virtual Machine compilers
Wikimedia Foundation. 2010.