Live data from Hacker News

Amazon Corretto JDK

docs.aws.amazon.com

21–30 of 85 posts

Re: Amazon Corretto JDK

#21
post #5

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…

Adopt OpenJDK did have the LTS releases. They rebranded last release - https://adoptium.net . The quarterly updates to Java 8, 11, and now 17 are all there, and up till then, been pulling 8/11 from Adopt OpenJDK's site. All in all, not much different. The last release was a bit of a kerfuffle, as they migrated web sites.

From the Adoptium FAQ:

> This is the project and brand name for the binaries that the Eclipse Foundation produces. You can think of these as the successor binaries to AdoptOpenJDK.

The current LTS versions are 8, 11 and 17. Supported platforms include arm32 (Linux), aarch64 (Linux & macOS), x64 (Windows, Alpine & Linux w/ glibc) and x86 (Linux).

Re: Amazon Corretto JDK

#22
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 """

You also have Zulu from Azul.

Re: Amazon Corretto JDK

#24
post #6

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.

According to their user guide, the only patch they have is the branding change: https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/p... I'll keep using the OpenJDK Docker images.

You probably shouldn’t. Last I checked the OpenJdk docker images use the Debian builds of OpenJdk and there’s been multiple times where they’ve shipped vulnerable builds. [0] You should probably just use the Zulu builds.

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

Re: Amazon Corretto JDK

#25

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…

3. Additional pre-built downloads for things like x64/musl, aarch32.

Re: Amazon Corretto JDK

#27
post #23

For an opinionated comparison of various JDKs, see: https://whichjdk.com/ . (Submission thread: https://news.ycombinator.com/item?id=28820601 ) Disclaimer: no affiliation, just seemed like useful context.

Hey they added Graalvm, which I learned about in the Minecraft world.

Re: Amazon Corretto JDK

#29
I’m not a java dev, but my company’s core backend uses java.

What’s the main difference between this and java from adoptium? Or even from oracle. I thought they’re all from the same codebase. Is it just support?

The versioning and naming of java is very confusing for me

Re: Amazon Corretto JDK

#30
post #23

For an opinionated comparison of various JDKs, see: https://whichjdk.com/ . (Submission thread: https://news.ycombinator.com/item?id=28820601 ) Disclaimer: no affiliation, just seemed like useful context.

Or rather go to the only comment there from someone who knows their shit

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

and skip the site altogether.

Post reply on HN