Write once, run anywhere (WORA), or sometimes write once, run everywhere (WORE), is a 1995 [1] slogan from Sun Microsystems to describe the cross-platform benefits of the Java programming language. [2] [3] It refers to how compiled bytecode from Java source code can run on any system with a compatible Java virtual machine (JVM). In reality, there can be subtle differences in how a program executes due to variability in JVM implementation and host operating system which lead to the comical slogan: Write once, debug everywhere. [4]
As Java has achieved popularity, the installation of a JVM on chips, devices, and software packages became an industry standard practice.
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
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.