Home > database >  OpenJdk LTS vs AWS Corretto - both offer LTS, Corretto seam to be 4 yrs behind?
OpenJdk LTS vs AWS Corretto - both offer LTS, Corretto seam to be 4 yrs behind?

Time:12-31

I understand differences btw Oracle Jdk, OpenJdk, AWS Corretto.

I know AWS team maintains Corretto, gives long term support for free but OpenJDK also has LTS support (8, 11, 17, ..) so other than Amazon adding fixes faster, I see no other benefit in Corretto.

The latest OpenJdk LTS is version 17 - released in 2021.

The latest version of Corretto - released in 2022 is based on OpenJdk 11 (which was released in 2018).

So, my 2 questions are:

  1. If both OpenJdk and Corretto provide LTS, what is the point of using Corretto?
  2. Why is Corretto so behind given that OpenJDK LTS is 17 and Correto is based on OpenJdk 11?

CodePudding user response:

Amazon Corretto currently provides 8 11 and 15 to 19 (including 17). More completely it follows Oracle and (at least most) other OpenJDK packagers by supporting designated LTS versions 8 11 17 long-term, but non-LTS versions only for a limited period (so 15 and 16 should go away soonish as 20 and 21 are added). Major version 11 was initially released in 2018 but the most recent maintenance aka patch version of 11 from Corretto is 11.0.17.8.1 just a few months ago, approximately the same as Oracle (my current Oracle 11 identifies as 11.0.17 10-LTS-269).

CodePudding user response:

but OpenJDK also has LTS support (8, 11, 17, ..)

Be careful with your use of names here.

OpenJDK is the name of an open-source project. That project that implements the Java specifications published by Oracle. The OpenJDK project is owned by Oracle Corp but enjoys the contributions of code and labor by IBM, Apple, and other companies and individuals.

The OpenJDK project provides only source code. For executable builds of that software, and installers for that software, you must look elsewhere. Several vendors offer binaries and installers.

The confusion comes from the fact that Oracle Corp legally allows vendors to use the word “OpenJDK” in the name of their JDK products. This naming represents the fact that their product is based largely (if not entirely) on the OpenJDK source code.

what is the point of using Corretto

You have a choice of obtaining a JDK (implementation of the Java specs) from several vendors. You may have various reasons motivating your choice. One reason might be the possibility of purchasing a support plan. Another reason might be needing an implementation for a particular less-common platform. Another reason might be convenience, or familiarity with the vendor.

Some folks choose AWS Corretto because they intend to deploy on AWS cloud. Amazon promises to keep Corretto as close as is practicable to the same as what executes on the AWS cloud.

Why is Corretto so behind given that OpenJDK LTS is 17 and Correto is based on OpenJdk 11?

As explained well in the Answer by dave_thompson_085, your understanding of those versions is incorrect.

Amazon maintains releases of Corretto for all three long-term support (LTS) versions of Java: 8, 11, and 17. Amazon also has a release for the current version of Java, 19.

  • Related