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
作为曾经的编程语言王者,如今 Java 的更新速度令无数开发者望尘莫及,转瞬间,其版本已经来到了 25。 值得注意的是,Oracle 最新发布的 Java 25 是最新的长期支持(LTS)版本,回看上一版 LTS 还是 2023 年 9 月推出的 JDK 21。相比常规的半年期版本, LTS 版本将获得更长周期的维护与支持——JDK 25 将获得至少 8 年的 Oracle Premier 商业支持。 简单来说,按照 Oracle 的计划,JDK 25 会在 2028 年 9 月之前,按季度提供免费的安全和性能更新,遵循 NFTC(No-Fee Terms and Conditions)许可; 在那之后,更新会转到 Java SE OTN(Oracle Technology Network License Agreement)许可下继续提供,预计至少会持续到 2033 年 9 月。 在此,我们也稍作解释:相比 NFTC,OTN 是一个更严格的免费使用许可。它允许开发者在开发和测试中免费使用 Java SE,但如果要在生产环境、大规 模商用部署中长期使用,就需要从 Oracle 购买商业支持。换句话说,OTN ...
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 ...