{"id":64340,"date":"2025-10-01T13:57:13","date_gmt":"2025-10-01T11:57:13","guid":{"rendered":"https:\/\/www.schneider.im\/?p=64340"},"modified":"2025-10-01T14:02:37","modified_gmt":"2025-10-01T12:02:37","slug":"oracle-java-25-available","status":"publish","type":"post","link":"https:\/\/www.schneider.im\/lu\/oracle-java-25-available\/","title":{"rendered":"Oracle Java 25 available"},"content":{"rendered":"<p style=\"text-align: justify;\">On September 16, 2025, Oracle Java 25 (Oracle JDK 25) became available as the latest\u00a0<strong>long-term support (LTS)<\/strong>\u00a0version of the Java platform.<\/p>\n<p style=\"text-align: justify;\">Java 25 delivers <strong>18 major enhancements<\/strong> (JDK Enhancement Proposals, or\u00a0<em>JEPs<\/em>) to make Java more productive, efficient, and ready for modern workloads like AI. It improves developer productivity and boosts the platform\u2019s performance, stability, and security.<\/p>\n<p style=\"text-align: justify;\">Oracle is committed to <strong>support<\/strong> Java 25 for\u00a0<strong>at least 8 years<\/strong>. This means free quarterly updates until\u00a0<strong>September 2028<\/strong>, and optional extended support available until at least\u00a0<strong>September 2033<\/strong>\u00a0for those who need to stay on Java 25 longer.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"aligncenter  wp-image-64306\" src=\"https:\/\/www.schneider.im\/media\/2025\/10\/SCHNEIDER-IT-MANAGEMENT-2025-10-01-Update-Oracle-Java-25-available.jpg\" alt=\"\" width=\"800\" height=\"418\" srcset=\"https:\/\/www.schneider.im\/media\/2025\/10\/SCHNEIDER-IT-MANAGEMENT-2025-10-01-Update-Oracle-Java-25-available.jpg 624w, https:\/\/www.schneider.im\/media\/2025\/10\/SCHNEIDER-IT-MANAGEMENT-2025-10-01-Update-Oracle-Java-25-available-500x261.jpg 500w, https:\/\/www.schneider.im\/media\/2025\/10\/SCHNEIDER-IT-MANAGEMENT-2025-10-01-Update-Oracle-Java-25-available-150x78.jpg 150w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\"><strong>Top New Features in Java 25<\/strong><\/h2>\n<ul style=\"text-align: justify;\">\n<li><strong>AI and Performance Enhancements<\/strong>:\n<ul>\n<li><em>Structured Concurrency<\/em>\u00a0(JEP 505) makes it easier to write and manage parallel threads as a group, which is especially helpful for AI tasks or any application doing work in parallel. This leads to more reliable and simpler multithreading.<\/li>\n<li><em>Vector API<\/em>\u00a0(JEP 508) allows developers to use SIMD vector instructions for math-heavy operations. This means code that processes lots of data (e.g. machine learning computations) can run significantly faster by utilizing modern CPUs more efficiently.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Beginner-Friendly Improvements<\/strong>: Java 25 lowers the learning curve for new programmers:\n<ul>\n<li><em>Compact Source Files &amp; Instance Main<\/em>\u00a0(JEP 512) let you write a runnable program\u00a0<strong>without<\/strong>\u00a0the usual boilerplate\u00a0public static void main(String[] args)\u00a0method. Beginners and educators can start with a simple file containing code, making Java more accessible for first-time users or quick scripts.<\/li>\n<li><em>Module Import Declarations<\/em>\u00a0(JEP 511) simplify working with libraries. Developers can import all packages of a module with one statement, even if their code isn\u2019t modular. This means you don\u2019t need to know a library\u2019s module details to use it, which is great for newcomers and speeds up development with third-party code.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Other Language Updates<\/strong>: Java 25 includes general improvements that make the language more expressive and safer:\n<ul>\n<li><em>Pattern Matching for Primitive Types<\/em>\u00a0(JEP 507, third preview) \u2013 You can use pattern matching (e.g., in\u00a0instanceof\u00a0checks or switch statements) with primitive types now. This removes restrictions and lets you write cleaner code when working with numbers and other primitives (useful in data processing and AI logic).<\/li>\n<li><em>Flexible Main Constructor Bodies<\/em>\u00a0(JEP 513) \u2013 Constructors can now perform checks or setup\u00a0<strong>before<\/strong>\u00a0calling their superclass constructor. This helps ensure object initialization is safer and more reliable, catching issues early in the construction process.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\"><strong>Security, Performance, and Monitoring Upgrades<\/strong><\/h2>\n<ul style=\"text-align: justify;\">\n<li><strong>Stronger Security Features<\/strong>: Java 25 adds new cryptography tools:\n<ul>\n<li><em>PEM Encoding API<\/em>\u00a0(JEP 470, preview) \u2013 Simplifies reading and writing cryptographic keys and certificates in PEM format. This makes it easier to integrate Java with standard security assets (like TLS certificates or keys used by other systems).<\/li>\n<li><em>Key Derivation Function API<\/em>\u00a0(JEP 510) \u2013 Provides built-in support for key derivation algorithms, which is important for emerging\u00a0<strong>post-quantum cryptography<\/strong>. It prepares Java applications to generate and use encryption keys that can resist future quantum attacks.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Better Performance<\/strong>: Several enhancements improve Java\u2019s speed and efficiency:\n<ul>\n<li><em>Compact Object Headers<\/em>\u00a0(JEP 519) reduce the size of object metadata on 64-bit systems. In large applications, this means a smaller memory footprint and better cache usage, allowing more objects to fit in memory and potentially improving throughput.<\/li>\n<li><em>Faster Startup<\/em>\u00a0with\u00a0<strong>Ahead-of-Time compilation tweaks<\/strong>\u00a0\u2013 JEP 514 makes it easier to generate ahead-of-time compiled code, and JEP 515 uses pre-collected profile data to jump-start the Just-In-Time (JIT) compiler. In practice, Java applications can start up faster and reach peak performance sooner without manual tuning.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Improved Monitoring (JFR)<\/strong>: Java Flight Recorder (JFR), Java\u2019s built-in profiling and diagnostics tool, gets enhancements that help developers tune applications:\n<ul>\n<li><em>JFR CPU-Time Profiling<\/em>\u00a0(JEP 509, experimental) captures more precise CPU usage information per thread. This helps identify which parts of your code are using the most CPU.<\/li>\n<li><em>JFR Cooperative Memory Sampling<\/em>\u00a0(JEP 518) and\u00a0<em>JFR Method Tracing<\/em>\u00a0(JEP 520) provide more reliable stack sampling and detailed method call timing. This makes it easier to find performance bottlenecks and debug issues, with minimal overhead on the running application.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\"><strong>Java 25 on Oracle Cloud Infrastructure (OCI)<\/strong><\/h2>\n<ul style=\"text-align: justify;\">\n<li><strong>Immediate Cloud Support<\/strong>: Oracle Cloud Infrastructure was the\u00a0<strong>first hyperscale cloud platform to support Java 25<\/strong>\u00a0at launch. If you run your applications on OCI, you could adopt Java 25 right away, ensuring access to the latest features without delay.<\/li>\n<li><strong>Performance Boosts Included<\/strong>: On OCI, Oracle provides the\u00a0<strong>Java SE Subscription Enterprise Performance Pack<\/strong>\u00a0<strong>at no extra charge<\/strong>\u00a0for Java 25 deployments. This means Java 25 applications on OCI automatically get performance optimizations (improved JVM tuning and features) to run faster and more efficiently, without additional licensing costs.<\/li>\n<li><strong>Integrated Support and Management<\/strong>: Oracle\u2019s Java SE\u00a0<strong>Universal Subscription<\/strong>\u00a0benefits are built into OCI for Java 25 users. This subscription includes professional support, the Java Management Service, and flexible upgrade rights. In short, running Java 25 on OCI gives you enterprise support and tooling out-of-the-box. This helps your team monitor Java apps and apply updates or upgrades on your own schedule with Oracle\u2019s backing.<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-56605\" src=\"https:\/\/www.schneider.im\/media\/2025\/03\/SCHNEIDER-IT-MANAGEMENT-2021-10-15-Graphics-Office-People-017-scaled-1-800x343.jpg\" alt=\"\" width=\"800\" height=\"343\" srcset=\"https:\/\/www.schneider.im\/media\/2025\/03\/SCHNEIDER-IT-MANAGEMENT-2021-10-15-Graphics-Office-People-017-scaled-1-800x343.jpg 800w, https:\/\/www.schneider.im\/media\/2025\/03\/SCHNEIDER-IT-MANAGEMENT-2021-10-15-Graphics-Office-People-017-scaled-1-500x214.jpg 500w, https:\/\/www.schneider.im\/media\/2025\/03\/SCHNEIDER-IT-MANAGEMENT-2021-10-15-Graphics-Office-People-017-scaled-1-150x64.jpg 150w, https:\/\/www.schneider.im\/media\/2025\/03\/SCHNEIDER-IT-MANAGEMENT-2021-10-15-Graphics-Office-People-017-scaled-1-768x329.jpg 768w, https:\/\/www.schneider.im\/media\/2025\/03\/SCHNEIDER-IT-MANAGEMENT-2021-10-15-Graphics-Office-People-017-scaled-1-1536x658.jpg 1536w, https:\/\/www.schneider.im\/media\/2025\/03\/SCHNEIDER-IT-MANAGEMENT-2021-10-15-Graphics-Office-People-017-scaled-1-2048x878.jpg 2048w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"text-align: justify;\">Ready to get started with Java?<\/h2>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.schneider.im\/contact\/\">Contact us<\/a> for a quote.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On September 16, 2025, Oracle Java 25 (Oracle JDK 25) became available as the latest\u00a0long-term support (LTS)\u00a0version of the Java platform. Java 25 delivers 18 major enhancements (JDK Enhancement Proposals, or\u00a0JEPs) to make Java more productive, efficient, and ready for modern workloads like AI. It improves developer productivity and boosts the platform\u2019s performance, stability, and [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":12001,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[385],"tags":[],"class_list":["post-64340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oracle-java"],"_links":{"self":[{"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/posts\/64340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/comments?post=64340"}],"version-history":[{"count":3,"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/posts\/64340\/revisions"}],"predecessor-version":[{"id":64346,"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/posts\/64340\/revisions\/64346"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/media\/12001"}],"wp:attachment":[{"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/media?parent=64340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/categories?post=64340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schneider.im\/lu\/wp-json\/wp\/v2\/tags?post=64340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}