What Is "Write Once and Run Anywhere" Feature of Java?

WORA which is abbreviated as Write Once Run Anywhere is the feature applicable to those programs which hold the capability to execute itself on any operating systems or on any machine. This terminology was given by Sun Microsystem for their programming language - Java. According to this concept, the same code must run on any machine and hence the source code needs to be portable. So Java allows run Java bytecode on any machine irrespective of the machine or the hardware, using JVM (Java Virtual Machine). The bytecode generated by the compiler is not platform-specific and hence takes help of JVM to run on a wide range of machines. So we can call Java programs as a write once and run on any machine residing anywhere.

Here are few other related articles for you to read:

Scroll Back to Top