Newsletters




Oracle Releases Java 25 with Enhancements to the Platform’s Performance, Security, and Stability


Oracle is releasing Java 25, the latest version of the world’s number one programming language and development platform, helping organizations drive business growth by delivering thousands of improvements that boost developer productivity and enhance the platform’s performance, stability, and security.

Additionally, Oracle will provide long-term support for Java 25 for at least eight years.

“Java marked a significant milestone this year with its 30th anniversary, and the platform and language continues to evolve to help developers quickly and easily build applications infused with innovative AI and security capabilities,” said Georges Saab, senior vice president, Oracle Java Platform and chair, OpenJDK governing board. “Java 25 highlights Oracle’s ongoing investment in features and capabilities that power AI solutions and to simplify the language, making Java easier for new developers and IT teams to learn.”

Oracle plans to offer long-term support for Java 25 for at least eight years, which gives organizations the flexibility to keep applications in production longer with minimal maintenance and eventually migrate on their own terms, according to Oracle.

Oracle JDK 25 is planned to receive quarterly security and performance updates until September 2028 under the Oracle No-Fee Terms and Conditions (NFTC), and JDK 25 updates released after that date will be offered under the Java SE OTN License (OTN) planned until at least September 2033.

Some of the new updates and features include:

  • JEP 507: Primitive Types in Patterns, instanceof, and switch (Third Preview): Helps developers increase Java programming productivity by making Java more uniform and expressive.
  • JEP 511: Module import declarations: Helps developers accelerate productivity by enabling them to easily import all the packages exported by a module, without requiring the importing code to be in a module itself. This simplifies the reuse of modular libraries for all developers and helps beginners use third-party libraries and fundamental Java classes without needing to learn where they are in a package hierarchy.
  • JEP 512: Compact source files and instance main methods: Helps make the Java language more accessible to beginners and system and IT administrators by offering a smooth on-ramp to Java programming. Students can write their first programs in a concise manner without needing to understand language features designed for large programs and can grow their code gracefully as their skills expand.
  • JEP 513: Flexible constructor bodies: Enables developers to improve code safety and reliability by allowing input validation and safe computations before explicitly invoking a constructor.
  • JEP 505: Structured Concurrency (Fifth Preview): Helps developers improve the maintainability, reliability, and observability of multithreaded code by simplifying concurrent programming.
  • JEP 506: Scoped values: Help developers increase the ease-of-use, comprehensibility, performance, and robustness of their projects by enabling the sharing of immutable data within and across threads.
  • JEP 502: Stable values (Preview): Help developers increase flexibility by introducing an API for stable values, which are objects that hold immutable data.
  • JEP 508: Vector API (10th Incubator): Helps developers improve productivity via an API that expresses vector computations that reliably compile at runtime to optimal vector instructions on supported CPU architectures.

The features in the Java 25 release are a result of continuous collaboration between Oracle and other members of the global Java developer community via OpenJDK and the Java Community Process (JCP).

For more information about this news, visit www.oracle.com.


Sponsors