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
Your comment reminded me a similar discussion was had earlier this week[0]. Coincidentally, the current top comment on this post is whichjdk. [0] https://news.ycombinator.com/item?id=28821316
Amazon Corretto JDK
51–60 of 85 posts
Re: Amazon Corretto JDK
#52Could 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
#53I'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…
IIRC we had to move to Corretto when using AWS CodeBuild, because AWS dropped support of AdoptOpenJDK in their CodeBuild container images. So basically we use AWS distro to run tests and build our docker images, and those images use AdoptOpenJDK; which is not ideal, but so far we have been OK.
I think this is a common reason for moving to a particular distribution, but also sad to see. Amazon used to be impartial and independent infrastructure provider but as they ingest more and more software, your infrastructure and software now starts to depend on Amazons software.
Re: Amazon Corretto JDK
#54The 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?
Re: Amazon Corretto JDK
#55I’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
Java is like C and C++, there are plenty of implementations to chose from. Each has their own set of strong points regarding JIT, AOT, GC capabilities, which one to select is usually based on the use case. Unless doing something special, you are pretty safe using a regular OpenJDK distribution.
Looks like muddy waters to me. A shame really, they totally ran the JDK release management into the ground.
Re: Amazon Corretto JDK
#56Earlier quoted context omitted.
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
#57Earlier quoted context omitted.
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
#58Earlier quoted context omitted.
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).
See Adoptium.net/members.html for participating groups and vendors. More than just IBM.
Re: Amazon Corretto JDK
#59Re: Amazon Corretto JDK
#60Is there any JDK/JRE distribution that bundles in JavaFX?