Three JDKs to consider when using Java for free for commercial use

IPA also warns you, but Oracle's JDK will be charged for commercial use from Java 11, and Java will be free in the future. If you want to use it, you need to use another JDK. I have an in-house Java team, and I asked @ s-tsuchida to investigate the JDK provided by companies other than Oracle in the investigation within that team. In addition to the survey results, I personally spent a lot of time researching, so I would like to introduce three JDKs that I personally think should be considered if Java is used in the future.

Prerequisites

The three JDKs introduced this time are limited to those that can be used on multiple platforms. Depending on the platform you use, a JDK may be provided, and in such cases you should give priority to that. For example, if you use Red Hat Enterprise Linux, then Red Hat Open JDK You should use products / openjdk / download /), and if you use it on a Linux OS, you should consider using the JDK included in that Linux distribution.

It is also important that the binaries that fix the bugs and vulnerabilities have long-term support.

AdoptOpenJDK

AdoptOpenJDK - Open source, prebuilt OpenJDK binaries

This is the first JDK that was mentioned as a favorite when Oracle's JDK became paid. Companies such as IBM and Microsoft are heavily involved in the provision of binaries as sponsors. In Pleiades All in One, AdoptOpenJDK is already installed as standard as Java 11 JDK.

Support period

--Java 8: Until September 2023 --Java 11: Until September 2022

The above support period is the minimum period, so it may be extended.

The disadvantages are that it is difficult to know what was updated and when it was updated because there are no release notes, and the release is slow. According to OpenJDK Author Yuji Kubota's slide from Oracle to build and test It is said that the release is late for about 1 to 2 weeks.

Also, AdoptOpenJDK only provides binaries and does not provide paid support. However, for binaries with an OpenJ9 JVM, IBM has [IBM Support for Runtimes](https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an&subtype=ca&appname=gpateam&supplier=760&letternum] = JAJPJP17-0641) We provide paid support.

Zulu

https://jp.azul.com/downloads/zulu/

Zulu is an Open JDK provided by Azul Systems. Azul also has Zulu Embedded, which is an Open JDK that can be used for embedded systems, and [Zing](https: //), which is its own JVM. A company specializing in Java with products such as jp.azul.com/products/zing/). A member of the JCP Executive Committee and JSR expert groups, mainly supporting OpenJDK 6 according to Java is Still Free (Japanese translation) It seems that it is going on. The Adopt OpenJDK introduced above is also heavily involved as a sponsor, just like IBM and Microsoft. In addition, he has a strong relationship with Microsoft and is heavily involved in Java, a Microsoft product centered on Azure.

Support period

--Java 8: Until September 2026 --Java 11: Until September 2027

We have listed a fairly long support period above, but the above support period is ** the support period of Zulu Enterprise, which is paid support **. So, when asked how long Zulu will be supported, there was no mention of the support period. However, at present, the latest binaries are available for download on the Zulu download page for 7 and 6 during the long-term support period of Zulu Enterprise in addition to 11 and 8. According to the article below, Zulu Enterprise is a product that adds paid support to Zulu, so if Zulu, which is free of charge, does not change the form on which Zulu Enterprise is based, binaries will be provided until the above support ends I think so.

[GlassFish Study Group Report] Get to know the trends of each JDK vendor and prepare for Java 11: Report | gihyo.jp… Technical Review Company

Also, according to the Zulu Enterprise FAQ, Zulu is a full set of JDKs for developers, and Zulu Enterprise is for execution environments. There is a difference that JRE etc. are also provided. The Open JDK provided by Oracle is no longer provided by JRE, so if you only need the JDK, it shouldn't be a problem.

There is little information about the speed of the release, but according to the release notes, the release of Java 11 and October 2018 Critical Patch seems to be released from Oracle two days later, so I think that it is provided early. I will.

Unlike other paid support, Zulu Enterprise's paid support is priced by the number of systems, so even if you use paid support, the price will be easy to understand.

In addition, we have partnered with Microsoft to receive the above Zulu Enterprise support free of charge for use on Azure and Azure Stack. Zulu Enterprise has a long support period, so if you use it on Azure, Zulu may be a very powerful option. [Microsoft and Azul Systems support free Java LTS on Azure](https://azure.microsoft.com/en-us/blog/microsoft-and-azul-systems-bring-free-java-lts-support- to-azure /)

When using on Azure, you can download the JDK and JRE for Azure users from the following page. Download Azul Zulu tested certified OpenJDK builds Linux Windows Mac

Amazon Corretto

Downloads for Amazon Corretto 8 - Amazon Corretto 8

The JDK, which was recently announced and has become a hot topic as a powerful option when using Java in the future. Amazon Corretto is Java that was used inside Amazon and changed it to provide it to the outside. Amazon has contributed to OpenJDK since 2017, and will increase it in the future.

Introducing Amazon Corretto, a No-Cost Distribution of OpenJDK with Long-Term Support | AWS Open Source Blog

Amazon Corretto FAQs

Support period

--Java 8: Until June 2023 --Java 11: Until August 2024

The above support period is also the minimum period, so it may be extended. A preview version of Corretto 8 is available, and the official version is scheduled to be available in January 2019. Corretto 11 seems to be after April 2019. The preview version of Corretto 8 provides a JDK for Amazon Linux 2, Windows, and Mac, but the official version also provides a JDK for Ubuntu and Red Hat Enterprise Linux.

At present, it has not been officially provided yet, so there are some parts that we cannot see, such as the speed of release, so we would like to keep an eye on future trends. Also, in the preview version, JRE is provided only for Amazon Linux 2, so I think that it is important to have it operated on Amazon Linux 2 on AWS.

Recommended Posts

Three JDKs to consider when using Java for free for commercial use
How to use Truth (assertion library for Java / Android)
Things to watch out for when using Deeplearning4j Kmeans
[Must-see for apprentice java engineer] How to use Stream API
Try Spark Submit to EMR using AWS SDK for Java
[Java] How to use Map
How to use java Optional
How to use java class
[Java] How to use Optional ②
[Java] How to use removeAll ()
[Java] How to use string.format
How to use Java Map
[java] Reasons to use static
How to use Java variables
[Java] How to use Optional ①
Things to consider when running a specified job using Spring Batch
How to solve the unknown error when using slf4j in Java
How to make a groundbreaking diamond using Java for statement wwww
How to use Java HttpClient (Get)
Three points to use ArrayList efficiently
How to use Java HttpClient (Post)
[Java] How to use join method
[Processing × Java] How to use variables
[Java] How to use LinkedHashMap class
java (use class type for field)
[JavaFX] [Java8] How to use GridPane
Unexpected exception when using Java DateTimeFormatter
[Java] Try to implement using generics
How to use class methods [Java]
[Java] How to use List [ArrayList]
How to use classes in Java?
[Processing × Java] How to use arrays
How to use Java lambda expressions
[Java] How to use Math class
How to use Java enum type
Util to use for some reason