Latest in branch Java SE 26
26.0.1
Released 21 Apr 2026
(22 days ago)
SoftwareJava/Java SE
BranchJava SE 26
Status
Supported
Initial release26
17 Mar 2026
(1 month ago)
Latest release26.0.1
21 Apr 2026
(22 days ago)
Java class file format major version70.0
End of
premier support
Sep 2026
(Ends in 4 months)
Release noteshttps://www.oracle.com/java/technologies/javase/26-0-1-relnotes.html
Documentationhttps://docs.oracle.com/javase/26
Downloadhttps://www.oracle.com/java/technologies/javase/jdk26-archive-downloads.html
Java/Java SE Java SE 26 ReleasesView full list

What is New in Java 26

Java 26 (JDK 26) is a non-LTS release that brings several practical language and library improvements. It finalizes flexible constructor bodies, adds structured concurrency as a standard feature, enhances the foreign function & memory API, and introduces new tools for better performance and developer productivity. This version continues the steady evolution toward safer, more expressive, and higher-performance code.

Flexible Constructor Bodies (Standard)

Constructors can now contain almost any code before the super() or this() call - including try-catch blocks, local variables, and method invocations. This removes many artificial restrictions and makes complex initialization much cleaner.

public class Person {
    private final String name;
    private final int age;

    public Person(String rawName, String rawAge) {
        String trimmed = rawName.trim();
        try {
            int parsed = Integer.parseInt(rawAge);
            if (parsed < 0) throw new IllegalArgumentException();
            this.name = trimmed;
            this.age = parsed;
        } catch (NumberFormatException e) {
            throw new IllegalArgumentException("Invalid age format");
        }
        super(); // can be placed anywhere
    }
}

Structured Concurrency (Standard)

After several preview rounds, StructuredTaskScope and related APIs are now final. They make it easy to manage groups of related tasks that should complete together or fail as a unit - perfect for cleaner, safer concurrent code.

try (var scope = new StructuredTaskScope.ShutdownOnFailure()) {
    StructuredTaskScope.Subtask<String> task1 = scope.fork(() -> fetchUser());
    StructuredTaskScope.Subtask<Order> task2 = scope.fork(() -> fetchOrder());
    scope.join();
    scope.throwIfFailed();
    // both tasks completed successfully
}

Foreign Function & Memory API (Standard)

The modern, safe way to call native code and manage off-heap memory is now final. It replaces JNI in most cases with far less boilerplate and better performance.

Vector API (Final)

After many incubator rounds, the Vector API is now a permanent feature. It enables portable, high-performance SIMD code that is reliably vectorized by the HotSpot compiler.

Other Language & JVM Improvements

  • String Templates move to second preview with refined syntax and new processors.
  • Stream Gatherers reach second preview - powerful custom intermediate operations.
  • Implicitly Declared Classes and Instance Main Methods reach third preview.
  • Module Import Declarations (preview) simplify module-info.java usage.
  • HotSpot JVM adds generational ZGC improvements and better startup performance.

Library & Tooling Updates

  • New methods in java.util.concurrent for structured concurrency.
  • Enhanced support for virtual threads in many core libraries.
  • Improved javadoc search and rendering.
  • jlink gains better handling of large modules.
  • Native-image improvements for faster startup of native executables.

Removed & Deprecated Features

Feature Status
Security Manager Final removal (deprecated since Java 17)
Legacy Applet API Removed
Old java.util.Date / Calendar methods Further deprecations
Some experimental JVM flags Removed or renamed

Why Java 26 Matters

Java 26 delivers long-awaited final versions of structured concurrency, flexible constructors, the Vector API, and the foreign function & memory API. These features make concurrent programming safer, native interop cleaner, and performance-critical code easier to write and maintain. Combined with ongoing JVM optimizations, it continues to keep Java competitive for modern cloud-native, high-throughput, and AI-related workloads.

Releases In Branch Java SE 26

VersionRelease date
26.0.121 Apr 2026
(22 days ago)
2617 Mar 2026
(1 month ago)