Write once, run anywhere (WORA), or sometimes Write once, run everywhere (WORE), was a 1995 slogan created by Sun Microsystems to illustrate the cross-platform benefits of the Java language. Ideally, this meant that a Java program could be developed on any device, compiled into 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 became an industry standard practice.
The catch is that since there are multiple JVM implementations, on top of a wide variety of different operating systems, there could be subtle differences in how a program executes on each JVM/OS combination, possibly requiring an application to be tested on each target platform. This gave rise to a joke among Java developers: Write Once, Debug Everywhere.
In comparison, the Squeak Smalltalk programming language and environment boasts of being truly write once run anywhere, because it runs bit-identical images across its wide portability base.
See also
- Criticisms of cross-platform development and this slogan
- Software portability
- Write once, compile anywhere
- Parrot virtual machine
- Criticism of Java
- Write once, run forever
- Universal Windows Platform
References
- "Write once, run anywhere?". ComputerWeekly.com. Retrieved 2022-10-05.
- "JavaSoft ships Java 1.0". Sun Microsystems. 1996-01-23. Archived from the original on 2007-03-10.
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
- "Write once, run anywhere?". Computer Weekly. 2002-05-02. Retrieved 2009-07-27.
- Wong, William (2002-05-27). "Write Once, Debug Everywhere". electronicdesign.com. Retrieved 2013-02-04.
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.
- "Welcome To Squeak". Squeak. Retrieved 5 May 2015.
- "Back to the Future The Story of Squeak, A Practical Smalltalk Written in Itself". Dan Ingalls Ted Kaehler John Maloney Scott Wallace Alan Kay. Retrieved 5 May 2015.
Sun Microsystems | ||||||||
---|---|---|---|---|---|---|---|---|
Acquired by Oracle | ||||||||
Hardware |
| [REDACTED] | ||||||
Software | ||||||||
Storage | ||||||||
Performance | ||||||||
Research | ||||||||
Education | ||||||||
Community |
| |||||||
Acquisitions | ||||||||
Slogans | ||||||||
Category |