Updated Choices for Java Updates
Updated Choices for Java Updates
Get up to date with the latest Java updates.
Join the DZone community and get the full member experience.Join For Free
Last month was of particular significance to both Java developers and users. The reason was the release of update 202 of Oracle JDK 8, which was the final public update (for commercial users) of JDK 8 from Oracle. Users now need to think carefully about their strategy for updating the Java runtime in the future.
For non-commercial desktop users, updates to Oracle Java SE 8 will continue to be provided through the existing Java Update mechanism. According to Oracle, this will be, “…through at least the end of 2020.” It is assumed that, when the first of these updates come out in April, the license will be changed to preclude the use of these updates in a commercial deployment.
For the vast majority of Java users, there are a number of choices available for what to do next:
- Continue to use Oracle JDK 8 without further security patches or bug fixes. This clearly has significant implications in terms of platform stability and security. This option may not be open to many users due to regulatory compliance issues requiring all software being used to be updated to the most recent version.
- Migrate applications to the free Oracle OpenJDK JDK. Since JDK 9, Oracle has been providing two binary distributions of the JDK — the traditional Oracle JDK (from java.oracle.com) and the newer, OpenJDK binary (from jdk.java.net). As of JDK 11, these are functional equivalent, but they have different licenses. The OpenJDK binaries are provided under the same license as the source code, i.e. GPLv2 with classpath exception. The Oracle JDK 11 binary is now under the Oracle Technology Network License Agreement for Java SE. This allows free use for development and testing, but it also requires an Oracle Java SE subscription to be used in commercial production. The Oracle OpenJDK binaries are, therefore, an option that is free for use in production and has regular updates. The drawback to this option is that there is no long-term support (LTS) for any of these releases. Oracle OpenJDK 11.0.2, also released last month, is the last update for JDK 11. To continue to get the latest updates, users will need to update their entire JDK every six months (to keep pace with the new JDK release cadence).
- Migrate to a free, binary distribution of the OpenJDK. There are several options for this:
- As already explained, there is the Oracle OpenJDK JDK.
- Azul provides a community edition of our Zulu JDK, which is free. This is available here for a range of platforms, as well as versions.
- AdoptOpenJDK provides free JDK distributions for a wide range of platforms (Azul are one of the sponsors of this project). Although these binaries are well tested, they are not currently verified as Java SE compliant using the TCK.
- Amazon Corretto provides binaries for common platforms.
- Consider a commercial Java support contract. In addition to the Oracle option, Azul provides the Zulu Enterprise product. This is a fully supported OpenJDK distribution with independently backported fixes. Part of this is an SLA that includes how quickly binaries including backported updates will be made available. Should you find a problem while running Zulu Enterprise, we have a great team of engineers that can assist you and produce a fix if required.
The next scheduled update for Java is in April, so you still have a couple of months to consider your options.
Published at DZone with permission of Simon Ritter , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.