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

YearEvent
1991James Gosling starts Project Oak at Sun Microsystems. Goal: a language for consumer electronics with a platform-neutral runtime.
1993–94The World Wide Web takes off. Sun pivots Oak toward web applets and renames it Java.
1996Java 1.0 released publicly. Netscape Navigator 2.0 ships with the first Java plug-in. "Write once, run anywhere" becomes the slogan.
1997Java 1.1 adds inner classes, reflection, JDBC and RMI.
1998Java 1.2 ("Java 2") introduces Swing, Collections framework, JIT compiler.
2004Java 5 (officially "J2SE 5.0"): generics, annotations, enums, enhanced for loop, autoboxing β€” the biggest syntax overhaul.
2006Sun open-sources Java under GPL as OpenJDK.
2010Oracle acquires Sun Microsystems for $7.4 billion. Java passes to Oracle.
2011Java 7: try-with-resources, diamond operator, NIO.2, invokedynamic.
2014Java 8 (LTS): lambda expressions, streams API, Optional, new Date/Time API. Still the most-deployed Java version as of the early 2020s.
2017Java 9: modules (Project Jigsaw). Also: Oracle switches to a six-month release cadence.
2018Java 11 (LTS): Oracle changes licensing; free OpenJDK and commercial Oracle JDK split.
2021Java 17 (LTS): sealed classes, pattern matching for instanceof, records stabilised.
2023Java 21 (LTS): virtual threads (Project Loom), sequenced collections, pattern matching in switch.
2025Java 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.