Workflow
Java 25
icon
Search documents
“我用 Java 8”已成过去式!Java 25正式发布:甲骨文提供八年更新、18项新功能上线
程序员的那些事· 2025-09-25 10:09
Core Viewpoint - Oracle has released Java 25, the latest Long-Term Support (LTS) version, which will receive at least 8 years of commercial support, with free updates until September 2028, followed by continued updates under a stricter licensing agreement until at least September 2033 [1][2]. Feature Updates - Java 25 introduces 18 new features, including 5 that Oracle claims will assist in AI development [4]. - Language improvements include enhanced type matching, simplified module imports, and a more intuitive main method instantiation [6]. - The structured concurrency feature is in its fifth preview, allowing management of related concurrent tasks as a whole [7]. - Scope values and stable values are finalized, enabling lightweight sharing of immutable data across threads [8]. - The Vector API has been improved to utilize CPU vector instructions for more efficient calculations [9]. Security and Performance Enhancements - New APIs for PEM encoding and key derivation functions have been introduced, enhancing security capabilities [10]. - Compact Object Headers reduce memory usage by compressing object headers from 96/128 bits to 64 bits [11]. - JDK Flight Recorder (JFR) has been enhanced with CPU time analysis and method execution tracking features, improving performance monitoring [12][13]. - The Generational Shenandoah garbage collector has been promoted to a formal feature, improving memory utilization under high load [14]. Market Context - Despite the release of Java 25, Java 17 remains the most widely used version, with Java 21 following closely behind, indicating a cautious adoption of newer versions by developers [15].
“我用Java 8”已成过去式,Java 25正式发布:Oracle提供八年更新、18项新功能上线
3 6 Ke· 2025-09-17 12:10
Core Insights - Oracle has released Java 25, which is the latest Long-Term Support (LTS) version, following JDK 21 released in September 2023. JDK 25 will receive at least 8 years of Oracle Premier commercial support, with quarterly updates until September 2028 under the NFTC license, transitioning to OTN license thereafter until at least September 2033 [1][2]. Feature Updates - Java 25 introduces 18 new features, with 5 specifically aimed at enhancing AI development [4]. - Language improvements include the third preview of pattern matching for primitive types, allowing developers to operate directly on primitive types, and a new module import declaration to simplify imports [5]. - The JDK 25 library updates include structured concurrency entering its fifth preview, allowing management of related concurrent tasks as a whole, and the stabilization of scoped values for sharing immutable data across threads [6]. Security and Performance Enhancements - New security features include a simplified API for PEM encoding and a Key Derivation Function API, which supports algorithms for deriving new keys from existing ones, crucial for future quantum computing security [8]. - Performance improvements include the introduction of compact object headers, reducing the object header size from 96 bits to 64 bits, and enhancements to JDK Flight Recorder for more precise CPU time analysis [9][10]. Garbage Collection and Support Changes - The Generational Shenandoah garbage collector has been upgraded from experimental to a formal feature, aimed at improving throughput and memory utilization under high load [11]. - JDK 25 officially removes support for 32-bit x86, allowing the OpenJDK community to focus on new features and optimizations [12]. Market Reception - Despite the release of Java 25, Java 17 remains the most widely used version, with Java 21 following closely. The future adoption of Java 25 as a primary version will depend on its acceptance over time [13].
Oracle Releases Java 25
Prnewswire· 2025-09-16 14:30
Accessibility StatementSkip Navigation New release delivers 18 JDK Enhancement Proposals to improve the Java language, expand its AI capabilities, and help developers accelerate productivity Enhancements to the platform's performance, security, and stability help organizations drive business growth Long-term support offering enables customers to migrate at their own pace AUSTIN, Texas, Sept. 16, 2025 /PRNewswire/ -- Oracle today announced the availability of Java 25, the latest version of the world's number ...