Java is a programming language and software platform. Examples of applications that use Java are numerous and widespread but include web browsers, office applications, and even games like Minecraft are based on Java.
The full version string for this update release is 25.0.4.1+8 (where "+" means "build"). The version number is 25.0.4.1. Complete release notes for Java 25 can be found here.
If you need to run Java applications, downloading and installing the JRE (Java Runtime Environment) is enough. If you're developing Java applications, you'll want to download the JDK, which also includes the JRE.
For full information and terms, refer to the OTN License Agreement for Java SE. The OTN License Agreement for Java SE for current Oracle Java SE releases allows them to be used, without cost:
- (i) For personal use on a desktop or laptop computer, such as to play games or run other personal applications.
- (ii) For development, testing, prototyping, and demonstrating applications, including to use by/with profilers, debuggers, and Integrated Development Environment tools.
- (iii) For use with some approved products, such as Oracle SQL Developer, or as an end user of a software application created by an approved product. (referred to as "Schedule A" and "Schedule B" Products in the OTN License Agreement for Java SE)
- (iv) With identified Oracle Cloud Infrastructure products.
The latest version of Java is Java 26 or JDK 26 released on March 2026. However, many versions of Java are actively maintained for compatibility purposes. Java 8, Java 11, Java 17, Java 21, and Java 25 are the five long-term support versions recommended by Oracle alongside the latest release. You can download the version you need below:
- Java SE 27 Download
- Java SE 26 Download
- Java SE 25 Download (LTS, recommended)
- Java SE 24 Download
- Java SE 23 Download
- Java SE 22 Download
- Java SE 21 Download (LTS, recommended)
- Java SE 20 Download
- Java SE 19 Download
- Java SE 18 Download
- Java SE 17 Download (LTS, recommended)
- Java SE 16 Download
- Java SE 15 Download
- Java SE 11 Download (LTS, recommended)
- Java SE 9 Download
- Java SE 8 Download (LTS, recommended)
Java 8 is the last free software public update for commercial use, which explains why it remains popular even though it was released back in 2014. Oracle plans to maintain it until at least 2030. Also, you should know that some applications might refer to Java 8 as version 1.8.0.
What is Java JDK?
The Java Development Kit (JDK) is the full-featured software development kit for Java developers. It has everything the JRE has, but adds the compiler (javac) and tools (like javadoc and jdb). The JDK allows you to create and compile Java programs.
Is Java free to use?
Yes, Java is free to use under the jdk.java.net license. This means anyone can download it for personal or development use at no cost. Oracle does charge for long term support, but this is optional.
Keeping the JDK up to Date
Oracle recommends that the JDK is updated with each Critical Patch Update. In order to determine if a release is the latest, the Security Baseline page can be used to determine which is the latest version for each release family.
Critical patch updates, which contain security vulnerability fixes, are announced one year in advance on Critical Patch Updates, Security Alerts and Bulletins. It is not recommended that this JDK (version 25.0.1) be used after the next critical patch update scheduled for January 20, 2026.
Java Management Service, available to all users, can help you find vulnerable Java versions in your systems. Java SE Subscribers and customers running in Oracle Cloud can use Java Management Service to update Java Runtimes and to do further security reviews like identifying potentially vulnerable third party libraries used by your Java programs. Existing Java Management Service user click here to log in to your dashboard. The Java Management Service Documentation provides a list of features available to everyone and those available only to customers. Learn more about using Java Management Service to monitor and secure your Java Installations.
What's New
The full version string for this update release is 25.0.5+9 (where "+" means "build"). The version number is 25.0.5. This JDK conforms to version 25 of the Java SE Specification (JSR 400 2025-09-16).
JDK 25.0.5 contains IANA time zone data 2026c which contains the following changes:
- Alberta moved to permanent -06 on 2026-06-18.
- Morocco moves to permanent +00 on 2026-09-20.
PKCS12 KeyStore Support for RFC 9879: Use of Password-Based Message Authentication Code 1 (PBMAC1) (JDK-8343232)
The JDK PKCS12 KeyStore implementation now supports the more modern PBMAC1 algorithm for integrity protection. To use the PBMAC1 algorithm, set the keystore.pkcs12.macAlgorithm property in the java.security configuration file to a PBMAC1 algorithm, for example, PBEWithHmacSHA256. Existing PKCS12 keystore files will continue to use the integrity algorithm it was created with, but new keystore files will use the PBMAC1 algorithm.
In a future JDK release, the default value of the keystore.pkcs12.macAlgorithm security property will be changed to a PBMAC1 algorithm.
Policy for Distrusting Certain TLS Server Certificates has Changed (JDK-8382178 (not public))
All TLS server certificates anchored by Symantec, Entrust, and Camerfirma root CAs are now distrusted, regardless of their issuing date. TLS server certificates anchored by Chunghwa root CAs will be completely distrusted as of April 19, 2027. The jdk.security.caDistrustPolicies security property in the java.security configuration file has been updated to reflect these new policies.
HttpServer Validates the Host Request Header (JDK-8386525 (not public))
The com.sun.net.http.HttpServer has been updated to validate the Host request header as described in RFC 9112. HTTP/1.1 requests without a Host header or with multiple Host headers are now rejected with an HTTP 400 Bad Request response.
The validation can be disabled by setting the system property sun.net.httpserver.disableHostValidation to true.
Clarification of WebRowSet.readXml Exception Behavior (JDK-8383301 (not public))
The implementation of the WebRowSet.readXml methods has been updated to consistently report XML parsing and validation failures as SQLException.
WebRowSet.readXml validates XML input against the standard WebRowSet XML schema. Applications should expect malformed XML, schema validation failures, unsupported external entities, and other XML processing errors to be reported as SQLException. Validation can be disabled by setting the system property jdk.sql.rowset.webrowsetValidation to false.
The existing method signatures remain unchanged. No specification changes are included in this update.
