Java Introduction ·
‹ Previous Next ›
⏱ 5 min read Modified: 2026-11-07

History of Java programming language

Java is an object-oriented programming language whose development began in 1991 at Sun Microsystems (the Green project, led by James Gosling). Its first public release — JDK 1.0 — came out on January 23, 1996. Java was publicly announced on May 23, 1995, at SunWorld, so it turned 31 in 2026. Since then, it has evolved from Oak to Java 27 (September 2026). Below is the history of its key versions and features.

Java version table

Until Java 9 (2017), releases came every few years. Since Java 10 (March 2018), a new version ships every six months, in March and September. LTS releases are marked with an LTS badge.

Release date Version Line Key features
Jan 23, 1996 JDK 1.0 Java (formerly Oak) First release: JVM, core APIs, AWT, applets
Feb 1997 JDK 1.1 Java JavaBeans, JDBC, inner classes, reflection
Dec 1998 J2SE 1.2 Java 2 Collections Framework, Swing, JIT compiler
May 2000 J2SE 1.3 Java 2 HotSpot JVM, JNDI
Feb 2002 J2SE 1.4 Java 2 assert, regular expressions, NIO, logging
Sep 30, 2004 J2SE 5.0 Java 5 Generics, annotations, enums, varargs, for-each, autoboxing
Dec 2006 Java SE 6 Java 6 Collections improvements (NavigableSet, NavigableMap), JAX-WS
Jul 2011 Java SE 7 Java 7 switch on String, try-with-resources, multi-catch, NIO.2
Mar 18, 2014 Java SE 8 LTS Java 8 Lambda expressions, Stream API, java.time, default methods
Sep 21, 2017 Java SE 9 Java 9 Module system (Project Jigsaw), JShell, private interface methods
Mar 2018 Java SE 10 Java 10 The var keyword (local-variable type inference)
Sep 2018 Java SE 11 LTS Java 11 New HTTP Client, var in lambdas, removal of Java EE/CORBA
Mar & Sep 2019 Java SE 12–13 Java 12–13 Switch expressions (preview), text blocks (preview)
Mar & Sep 2020 Java SE 14–15 Java 14–15 Records (preview), pattern matching, sealed classes (preview)
Mar 2021 Java SE 16 Java 16 Records and pattern matching for instanceof (stable)
Sep 2021 Java SE 17 LTS Java 17 Sealed classes (stable), pattern matching for switch (preview)
Mar & Sep 2022 Java SE 18–19 Java 18–19 UTF-8 by default, virtual threads (preview)
Mar 2023 Java SE 20 Java 20 Structured concurrency and record patterns evolve
Sep 2023 Java SE 21 LTS Java 21 Virtual threads, pattern matching for switch and records (stable)
Mar & Sep 2024 Java SE 22–23 Java 22–23 Foreign Function & Memory API, preview features evolve
Mar 18, 2025 Java SE 24 Java 24 Stream Gatherers, Class-File API, Security Manager permanently disabled
Sep 16, 2025 Java SE 25 LTS Java 25 Compact source files and instance main methods, flexible constructor bodies, module import declarations, scoped values
Mar 17, 2026 Java SE 26 Java 26 HTTP/3 for the HTTP Client, Applet API removed, AOT object caching with any GC
Sep 15, 2026 Java SE 27 Java 27 G1 as the default GC in all environments, post-quantum hybrid key exchange for TLS 1.3, compact object headers by default

JDK 1.0 — the birth of Java (1996)

JDK 1.0 was released on January 23, 1996, but Java had been publicly announced earlier, on May 23, 1995, at SunWorld. Work began in 1991 in the Green project, where a Sun Microsystems team led by James Gosling built technology for consumer electronics (set-top boxes and other devices). Gosling named the language Oak after the oak tree outside his office window; it was later renamed Java. It was influenced by C++ but emphasized simplicity and security.

There are several versions of how the name originated. The most common one says the language was named after Java coffee, which in turn was named after the Indonesian island of Java — which is why the Java logo features a cup of coffee.

JDK 1.1 (1997)

JDK 1.1 was released in February 1997. Its new features included the JavaBeans component model, JDBC for database access, inner classes, and reflection.

J2SE 1.2 — the “Java 2” era (1998)

With version 1.2, the platform became Java 2 Platform, Standard Edition (J2SE), and the developer kit was called the Java 2 SDK; the “2” marked the second generation of the platform. This release introduced the Collections Framework, the Swing library, and a JIT compiler. The “Java 2” name became so entrenched that many books kept it in their titles even while describing later versions (Java 5, Java 6).

J2SE 5.0 — a major language update (2004)

J2SE 5.0 was released on September 30, 2004. “5.0” is the product version, while developers still saw 1.5.0: for example, java -version on this JDK prints the line java version "1.5.0". The developer kit was renamed back to JDK, and the “2” and the J2SE abbreviation were dropped with the next release, Java SE 6. Java 5 brought many changes:

Java SE 6 (2006) and Java SE 7 (2011)

Java 6 (December 2006) added the Scripting API (JSR 223), the Compiler API (JSR 199), JDBC 4.0, and JAX-WS, and the collections framework gained the NavigableSet and NavigableMap interfaces. The platform was renamed Java SE 6.

Almost five years passed between Java 6 (December 2006) and Java 7 (July 2011). The change of ownership was one factor: Oracle announced its acquisition of Sun Microsystems on April 20, 2009, and completed it on January 27, 2010. Java 7 introduced: using String in switch, multi-catch, try-with-resources, underscores in numeric literals, and binary literals.

Java SE 8 — functional style (2014)

Java 8, released on March 18, 2014, became one of the most important releases; Oracle classifies it as an LTS release. It introduced lambda expressions and related method references, functional interfaces, static and default interface methods, a new date/time API (java.time), and the Stream API.

Java SE 9–10 and the move to a six-month cadence (2017–2018)

Java 9 (September 21, 2017) brought the module system (Project Jigsaw), private interface methods, and the JShell tool. Java 10 (March 2018) introduced the var keyword and was the first release on the six-month cadence: since then, a new version ships every six months, in March and September.

Modern Java and LTS versions

After the move to a fast release cadence, the concept of LTS (Long-Term Support) versions emerged — releases with extended support that most companies rely on. These are Java 8, 11, 17, 21, and 25; since Java 17, a new LTS ships every two years. Interim versions are supported for only six months, so production systems typically use an LTS release.

Key features of modern Java include records and sealed classes (Java 16–17), pattern matching and switch expressions, and virtual threads (Project Loom), which became stable in Java 21. As of November 2026, the latest version is Java 27 (released September 15, 2026), and the latest LTS is Java 25 (September 16, 2025). Oracle’s next planned LTS is Java 29 in September 2027.

Frequently asked questions

How old is Java?

Java was publicly announced on May 23, 1995, so it turned 31 in 2026. Counting from JDK 1.0 (January 23, 1996), it is 30 years old. Work on its predecessor, Oak, started in 1991.

Why is Java 5 also called 1.5?

5.0 is the product version of J2SE 5.0, while 1.5.0 is the developer version shown by java -version and the java.version system property. Both numbers refer to the same release. See J2SE 5.0.

When was Java 8 released?

On March 18, 2014. It is an LTS release that introduced lambda expressions and the Stream API, and Oracle still provides updates for it.

What is the latest version of Java?

As of November 2026, it is Java 27 (September 15, 2026), and the latest LTS is Java 25. Oracle’s next planned LTS is Java 29 in September 2027. All LTS releases are listed in Modern Java and LTS versions.

Video Explanation

Prefer video format? Watch this lesson with examples and explanations.

Comments

Please log in or register to have a possibility to add comment.