When Was Java Created? The Full History
Java was initiated in 1991 by James Gosling and a small team at Sun Microsystems under the internal name Project Oak. It was released publicly as Java 1.0 in January 1996. Oracle acquired Sun β and with it, Java β in 2010. In 2026 the language is 30 years old and still one of the most-used programming languages on earth.
The timeline
| Year | Event |
|---|---|
| 1991 | James Gosling starts Project Oak at Sun Microsystems. Goal: a language for consumer electronics with a platform-neutral runtime. |
| 1993β94 | The World Wide Web takes off. Sun pivots Oak toward web applets and renames it Java. |
| 1996 | Java 1.0 released publicly. Netscape Navigator 2.0 ships with the first Java plug-in. "Write once, run anywhere" becomes the slogan. |
| 1997 | Java 1.1 adds inner classes, reflection, JDBC and RMI. |
| 1998 | Java 1.2 ("Java 2") introduces Swing, Collections framework, JIT compiler. |
| 2004 | Java 5 (officially "J2SE 5.0"): generics, annotations, enums, enhanced for loop, autoboxing β the biggest syntax overhaul. |
| 2006 | Sun open-sources Java under GPL as OpenJDK. |
| 2010 | Oracle acquires Sun Microsystems for $7.4 billion. Java passes to Oracle. |
| 2011 | Java 7: try-with-resources, diamond operator, NIO.2, invokedynamic. |
| 2014 | Java 8 (LTS): lambda expressions, streams API, Optional, new Date/Time API. Still the most-deployed Java version as of the early 2020s. |
| 2017 | Java 9: modules (Project Jigsaw). Also: Oracle switches to a six-month release cadence. |
| 2018 | Java 11 (LTS): Oracle changes licensing; free OpenJDK and commercial Oracle JDK split. |
| 2021 | Java 17 (LTS): sealed classes, pattern matching for instanceof, records stabilised. |
| 2023 | Java 21 (LTS): virtual threads (Project Loom), sequenced collections, pattern matching in switch. |
| 2025 | Java 25 (LTS): structured concurrency, value objects preview (Project Valhalla progress). |
Who is James Gosling?
James Gosling is a Canadian computer scientist who led the original Java team. He designed the language's syntax (influenced by C and C++, but without manual memory management and pointers), the compilation model, and the JVM specification. He left Oracle in 2010 shortly after the acquisition, worked at Google and Amazon, and remains a vocal figure in the Java community.
Why "Java"?
The name "Oak" was already trademarked. The team brainstormed alternatives over coffee β reportedly Java (the Indonesian island famous for coffee) won out. The coffee cup logo stuck.
The Oracle era
Oracle's stewardship of Java has been a mix of controversy (the API copyright lawsuit against Google) and genuine investment (the accelerated release cadence, Project Loom, Project Panama, Project Valhalla). The open-source OpenJDK process means the broader community has more say than in the Sun era, with companies like Red Hat, Microsoft, Amazon and SAP all contributing code.