Live data from Hacker News

Amazon Corretto JDK

docs.aws.amazon.com

41–50 of 85 posts

Re: Amazon Corretto JDK

#41
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.

LTS means active support (call/email to fix issue), what Adopt does is just builds from branches that receive commits/fixes from other vendors/people.

They don't have TCK, they do their own tests on the builds. But you could probably do such builds yourself, everyone has access to openjdk github repo.

I would call it more like Long Term Build.

Re: Amazon Corretto JDK

#42
post #35

Earlier quoted context omitted.

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.

Yeah the site is useless. I didn't comment on the last post but to summarize from a JVM/infra guy: Use a JDK that contains the features you want and is from a vendor that gets access to embargoed Java security updates. This matters more for pre-Java 11 as certain vendors backport things like Java Mission Control/Flight Recorder and other performance and debugging features to Java 8. Post Java 11 the feature sets of t…

> as the Java 8 -> 9 migration was very hairy due to modules

Bytecode changes too. Java 9 presents a hard limit for upgrading a lot of older libraries that are using bytecode generation / manipulation.

Re: Amazon Corretto JDK

#43
post #33

The best way to understand which JDK to use is to understand superficially what is involved with the source code and the build process between vendors, and their licenses. Source code starts out the exact same, that's why they are all OpenJDK, because they take the source code from the OpenJDK public repository's main branch. From that point on, they can choose to apply source code patches from OpenJDK that have not…

Is the any JDK that you are aware that bundles in the JavaFX?

Yes, Azul https://www.azul.com/downloads/?package=jdk

Re: Amazon Corretto JDK

#45
post #43

Earlier quoted context omitted.

Yes, Azul https://www.azul.com/downloads/?package=jdk

That page does not mention JavaFX at all though. May be they aren't publicising it that much?

Look for the jdk-fx package in the filter drop-down: https://www.azul.com/downloads/?package=jdk-fx

Re: Amazon Corretto JDK

#46

Earlier quoted context omitted.

That page does not mention JavaFX at all though. May be they aren't publicising it that much?

Look for the jdk-fx package in the filter drop-down: https://www.azul.com/downloads/?package=jdk-fx

Had failed to notice that. Thank you.

Re: Amazon Corretto JDK

#47
post #33

The best way to understand which JDK to use is to understand superficially what is involved with the source code and the build process between vendors, and their licenses. Source code starts out the exact same, that's why they are all OpenJDK, because they take the source code from the OpenJDK public repository's main branch. From that point on, they can choose to apply source code patches from OpenJDK that have not…

Is the any JDK that you are aware that bundles in the JavaFX?

Liberica JDK

Re: Amazon Corretto JDK

#48
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).

My understanding is that ties between the Eclipse Foundation and IBM are loose enough by now to not call this project an IBM thing. Eclipse did originate at IBM, but that was close to 20 years ago.

Re: Amazon Corretto JDK

#49
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.

That one HN comment that recommended JDK engines explicitly warned against Eclipse. Not sure if it still applies with the AdoptOpenJDK -> Eclipse migration

Re: Amazon Corretto JDK

#50
post #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.

What do you mean in a Minecraft world?
Post reply on HN