Live data from Hacker News

Amazon Corretto JDK

docs.aws.amazon.com

11–20 of 85 posts

Re: Amazon Corretto JDK

#11

Could someone provide a TL;DR on the major patches/benefits that Corretto has over Adopt or other community driven JDK implementations? It is unclear from the documentation but I am assume they have some secret sauce for faster boot for their Firecracker VM instances.

quoting from

https://stackoverflow.com/questions/53305934/differences-ama...

"""

To summarize, you have 3 options:

- Use OpenJDK for free, but upgrade every 6 months to get updates

- Use a paid JDK from Oracle or another vendor

- Use Corretto for free, and get free updates for several years

"""

Re: Amazon Corretto JDK

#12

Could someone provide a TL;DR on the major patches/benefits that Corretto has over Adopt or other community driven JDK implementations? It is unclear from the documentation but I am assume they have some secret sauce for faster boot for their Firecracker VM instances.

Adoptium is not "community driven" (it's made by IBM), and there is only one OpenJDK implementation, the one led and primarily developed by Oracle, with contributions from other companies. What Amazon or IBM do is build the source and distribute the binaries (look at the licence).

Re: Amazon Corretto JDK

#13
post #11

Could someone provide a TL;DR on the major patches/benefits that Corretto has over Adopt or other community driven JDK implementations? It is unclear from the documentation but I am assume they have some secret sauce for faster boot for their Firecracker VM instances.

quoting from https://stackoverflow.com/questions/53305934/differences-ama... """ To summarize, you have 3 options: - Use OpenJDK for free, but upgrade every 6 months to get updates - Use a paid JDK from Oracle or another vendor - Use Corretto for free, and get free updates for several years """

Note that this is referring to upstream OpenJDK.

Adoptium (formerly AdoptOpenJDK) is equivalent to Cornetto in this comparison

Re: Amazon Corretto JDK

#14

I've peripherally known Corretto is the Amazon distribution of Java (specifically, OpenJDK), but I never really looked up what the difference between, say, the releases from AdoptOpenJDK and Corretto are. I looked it up, it looks like it's generally: 1. LTS support - adoptopenjdk doesn't do LTS 2. Patches that come from Amazon that are upstreamed to OpenJDK but appear in Corretto first since, you know, that's where A…

I asked an adjacent question and am also curious, great that they have provided another option for the OpenJDK community but I can’t see anything compelling that would make me consider this over Adopt.

> but I can’t see anything compelling that would make me consider this over Adopt

All comes down to who do you trust to build and package something correctly?

Re: Amazon Corretto JDK

#16

Could someone provide a TL;DR on the major patches/benefits that Corretto has over Adopt or other community driven JDK implementations? It is unclear from the documentation but I am assume they have some secret sauce for faster boot for their Firecracker VM instances.

I worked at AWS and Corretto came out towards the end of my tenure there. At the time (Java 8), it included in house patches that upstream haven’t or due to politics refused to adopt.

Now that I don’t work at Amazon any more I still advocate for the distribution for the LTS model, and the fact that it contains fixes that are only discovered when running in production at the scale of Amazon and AWS.

Re: Amazon Corretto JDK

#17
post #10
post #8

Earlier quoted context omitted.

I guess v11 is a better link to share there https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/p...

Wow, that's awesome - 8 had a handful of custom patches and some backports, 11 had only backports, and 17 has nothing. This is kind of the best possible story for a distribution fork!

In fairness, Java 17 has just been released; it's possible new custom patches will be introduced in future Corretto patch releases.

Still, the fact that Corretto 11 had so few backports is encouraging.

Re: Amazon Corretto JDK

#18
post #12

Could someone provide a TL;DR on the major patches/benefits that Corretto has over Adopt or other community driven JDK implementations? It is unclear from the documentation but I am assume they have some secret sauce for faster boot for their Firecracker VM instances.

Adoptium is not "community driven" (it's made by IBM), and there is only one OpenJDK implementation, the one led and primarily developed by Oracle, with contributions from other companies. What Amazon or IBM do is build the source and distribute the binaries (look at the licence).

https://news.ycombinator.com/item?id=28821316

"...Eclipse Adoptium, built by IBM, which is the only distribution built by a team that isn't involved with the OpenJDK project, isn't very familiar with it, and isn't a member of the OpenJDK Vulnerability team, and so get security patches only after the other vendors have delivered their builds. "

Re: Amazon Corretto JDK

#19

I've peripherally known Corretto is the Amazon distribution of Java (specifically, OpenJDK), but I never really looked up what the difference between, say, the releases from AdoptOpenJDK and Corretto are. I looked it up, it looks like it's generally: 1. LTS support - adoptopenjdk doesn't do LTS 2. Patches that come from Amazon that are upstreamed to OpenJDK but appear in Corretto first since, you know, that's where A…

My Experience Corretto is easier to deploy on systems that just need the JRE seems to be a more drop in replacement to the old consumer Java8 msi installers, than the OpenJDK "offical" packages which are some what confusing.

Re: Amazon Corretto JDK

#20

I've peripherally known Corretto is the Amazon distribution of Java (specifically, OpenJDK), but I never really looked up what the difference between, say, the releases from AdoptOpenJDK and Corretto are. I looked it up, it looks like it's generally: 1. LTS support - adoptopenjdk doesn't do LTS 2. Patches that come from Amazon that are upstreamed to OpenJDK but appear in Corretto first since, you know, that's where A…

I asked an adjacent question and am also curious, great that they have provided another option for the OpenJDK community but I can’t see anything compelling that would make me consider this over Adopt.

If you are already paying AWS for premium support, one reason to use Corretto rather than Adoptium is that your AWS premium support plan covers Corretto as well.

"If you already have an AWS Support Plan, Corretto is covered on the same basis as all other supported AWS Services and software." https://aws.amazon.com/corretto/faqs/

Post reply on HN