I've heard rumors about Java, but I don't know which one to use when I try to use it. I hope the support period is long and it doesn't cost much. This is a summary of information for such a person (myself: smiley :: point_left :).
I tried to summarize Java that can be used as an execution environment for products delivered to customers by contract developers.
name | Java version | Supported OS | Support deadline | Things necessary | license |
---|---|---|---|---|---|
Oracle JRE(OracleJavaSE) | 8 | Windows, Linux, macOS, Solaris | March 2025 | Buy a subscription | OTN Agreement for Oracle Java SE |
Oracle Java SE | 11 | Windows, Linux, macOS | September 2026 | Buy a subscription | OTN Agreement for Oracle Java SE |
Red Hat OpenJDK (For windows) | 11 | Windows | October 2024 | Buy a subscription | GPLv2 with CPE |
AdoptOpenJDK | 8 | Windows,Linux,macOS,AIX,Solaris | September2023 | (None) | GPLv2 with CPE |
AdoptOpenJDK | 11 | Windows,Linux,macOS,AIX | September2022 | (None) | GPLv2 with CPE |
Amazon Corretto | 8 | Windows,Linux,macOS | June2023 | (None) | GPLv2 with CPE |
Amazon Corretto | 11 | Windows,Linux,macOS | August2024 | (None) | GPLv2 with CPE |
Azul Zulu Enterprise | 8 | Windows, Linux, macOS | March 2026 | Buy a subscription | GPLv2 with CPE |
Azul Zulu Enterprise | 11 | Windows, Linux, macOS | September 2027 | Buy a subscription | GPLv2 with CPE |
Azul Zulu Community | 11 | Windows,Linux,macOS,Solaris | September2027 | (None) | GPLv2 with CPE |
SapMachine | 11 | Windows,Linux,macOS | September2022 | (None) | GPLv2 with CPE |
Oracle OpenJDK 13 (support deadline March 2020) and Oracle OpenJDK 14 (support deadline September 2020) have been omitted.
An OpenJDK package included with the Linux distribution. Most of the time, you will use this.
Distribution and version | Java version | Support deadline |
---|---|---|
RHEL 6, 7, 8 | 8 | June 2023 |
RHEL 7, 8 | 11 | October 2024 |
CentOS 6, 7, 8 | 8 | Is it similar to RHEL? |
CentOS 7, 8 | 11 | Is it similar to RHEL? |
Cloud vendor | service | OS | Java version | Support deadline |
---|---|---|---|---|
Amazon Web Services | EC2 | Amazon Linux 1 | 8 | June 2020(?) |
Amazon Web Services | EC2 | Amazon Linux 2 | 8 | April 2023(?) |
Amazon Web Services | EC2 | Amazon Linux 2 | 11 | April 2023(?) |
Microsoft Azure | VM | Windows, Linux | 7 | July 2023 |
Microsoft Azure | VM | Windows, Linux | 8 | March 2025 |
Microsoft Azure | VM | Windows, Linux | 11 | September 2026 |
If you want to move it now, you have 11 choices.
If you want to move it after September 2021, you should prepare for the next LTS, 17.
It seems that it will be a choice according to the conditions.
First, choose whether to use Oracle or non-Oracle. Rich people who can buy Ferrari will choose Oracle (Higami).
For the cloud, it's probably best to use Java, which comes with your environment.
For on-premise Linux, you can match the OS and support, and it seems easy to use the included package.
If you want paid support for on-premise Windows, Red Hat or Zulu is probably the way to go.
What is the correct answer for deploying Java applications today?
From the user's point of view, 3. seems to be the least troublesome, but I wonder if anyone is actually doing it.
Recommended Posts