AppearanceDark›
Font sizeMedium›
Era coloursOn›
Grid / list viewGrid›
LanguageEnglish›
Settings
Blog
Help
Send feedback
← Blog

Java: How One Language Learned to Run Anywhere

18 November 2026

Few programming languages have lasted as long, or reached as far, as Java. It came out of Sun Microsystems with a simple promise: write a program once and run it on any machine with a Java virtual machine. Three decades later it still runs enterprise systems, Android apps and a large share of the web's back end. It is now developed through the OpenJDK community, with Oracle as the main steward.

From Oak to the internet

In 1991 a small Sun team led by James Gosling began the Green Project. Their new language, first called Oak, was meant for consumer electronics. By 1995 the focus had moved. At SunWorld, Sun announced Java along with the HotJava browser, which could run small programs called applets inside web pages. JDK 1.0 followed in 1996 under the slogan Write Once, Run Anywhere.

Growing into a serious platform

The next few releases moved Java beyond applets. JDK 1.1 added JDBC, reflection and JavaBeans, and J2SE 1.2 brought the Collections framework, Swing, and the split into Standard, Enterprise and Micro editions. Then, in 2004, J2SE 5.0 introduced generics, annotations, enums and the enhanced for loop. It was the biggest change to the language's syntax up to that point.

Open source, a new owner and a long lawsuit

In 2006 Sun released most of Java, including the HotSpot virtual machine, under the GNU General Public License, and the OpenJDK project began. Oracle completed its purchase of Sun in 2010 and took over Java. That same year Oracle sued Google, claiming Android infringed Java patents and copyrights. The case became a long dispute over whether software interfaces can be copyrighted. It ended in 2021, when the US Supreme Court ruled that Google's copying of Java API declarations was fair use.

Lambdas and a faster rhythm

Java SE 8 arrived in 2014 with lambda expressions, the Stream API and a new date and time API, and it went on to become one of the most widely used long-lived versions. In 2017 Java 9 added the module system, and Oracle switched to a new feature release every six months, with some versions marked for long-term support. Java 11, 17, 21 and 25 have filled that long-term role. Java 21 made virtual threads standard, so programs can run very large numbers of concurrent tasks while keeping simple blocking-style code.

You can follow every release and dispute in the Java timeline, from the Green Project to Java 25.

On the timeline