Live data from Hacker News

Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

aws.amazon.com

131–140 of 147 posts

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#131

If I want a free LTS supported OpenJDK build, how does this compare to AdoptOpenJDK? Which one is likely to "win" as the de facto standard JDK build used by most of the community?

AdoptOpenJDK is the much larger project with broad community backing (We even have Amazon contribute) from IBM, Red Hat, Azul, Ocado, Microsoft etc. It's got a fully open and auditable build and test pipeline and supports a massive number of platforms (arm32/64, AIX, s390, Mac, Windows, Linux x86, PPC etc) and versions (8, 9, 10, 11, amber, 12 beta et al). We've already had over 2M downloads and are definitely in production in a lot of places.

We'll be working with Amazon to make sure there's some consistency between the two, no point in fragmenting.

Corretto is an obvious choice if you're an AWS user, for everything else Adopt is also a decent choice.

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#132

Does anyone know if this Amazon OpenJDK includes a Windows 32-bit version? I can't find any mention of this in the docs.

They don't - Your best bet is probably Azul https://www.azul.com/downloads/zulu/zulu-windows/

Or AdoptOpenjDK https://www.adoptopenjdk.net

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#133
post #57
post #26

Surely Amazon Corretto is just going to fracture the Java ecosystem?

You can get Open JDK from any of the following places on them intarweb tubes, and they don't seem to fracture the ecosystem. Linux is available from many places, it may seem fractured, yet Linux seems to be taking over the world. Even Microsoft now "loves" Linux. https://aws.amazon.com/fr/corretto/ https://github.com/corretto https://adoptopenjdk.net/ https://github.com/AdoptOpenJDK https://github.com/ojdkbuild/ojdkb…

AdoptOpenJDK will be working with Amazon and the other providers to make sure there's some consistency between the binaries, no point in fragmenting all over the place, consumers expect to be able to drop in replacements.

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#134
post #69

Earlier quoted context omitted.

Amazon has good developers, but the JVM is quite complex and the pool of people who can work on it is pretty rare, I wonder how well they’ll be able to maintain it on their own.

Amazon has loads of money. Presumably if they care about this, they'll pay whatever's necessary to hire the developers they need.

And would still be cheaper than paying Oracle.

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#136

Given that Corretto is in production at Amazon today could this by default become the most popular (by production instances) JVM? Let's say Corretto becomes the default in BeanStalk, Lambda, and maybe some popular AMI's. Would that be enough? Let's say sometime next year some performance benchmarks come out and Corretto is in fact faster than Oracle's JVM. Would people be quick to switch? Would enough people switch?…

> Let's say sometime next year some performance benchmarks come out and Corretto is in fact faster than Oracle's JVM.

What tricks do you think they've got up their sleeve to make it faster?

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#137

Does anybody know how good internal OpenJDK in Ubuntu will be supported by Canonical? Somehow I could not find any information about real support in the future. I heard of commitments from and for RedHat though. I'm sure Corretto will be at some time also available for Ubuntu.

It's likely just the work that Debian does. OpenJDK upstream will always have their repository available, it's just that Oracle is paywalling binary builds after 6 months.

Debian builds from source and is unaffected by the binary paywall.

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#138

Earlier quoted context omitted.

You could always say: "My elastic block service elastic cloud compute machines are not playing nicely with elastic load balancers (but my elastic file system ones are), I think it might be to do with elastic map reduce, or maybe elastic kubernetes service." No soup.

It feels like English should have a provision to factor out the word "elastic" in this case. Just assume every word in the sentence is elastic.

"My elastic block service elastic cloud compute machines are not playing nicely with elastic load balancers (but my elastic file system ones are), I think it might be to do with elastic map reduce, or maybe elastic kubernetes service."

"My elastic services are not working. Cloud compute machines..."

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#139

can i get an eli5 on why we care about this? why not contribute to openjdk? why do we need another flavor?

As of the latest version of Java, OpenJDK is equivalent to Oracle JDK, and they'll release new versions every 6 month. However, there won't be any security updates or bug fixes to OpenJDK versions from Oracle after 6 months. There's a few groups that plan on maintaining patches beyond that period, but most options involve paying someone (including Oracle).

It's mostly just about enterprise distribution, rather than any differences in the JDK. Updating major versions every 6 months is risky, not having security updates is more risky, and no one likes paying money for something that they've been getting for free.

So far this seems like the simplest and cheapest way of getting long term security/bugfix updates for the JDK, especially if you're already running Amazon Linux. We've been evaluating the options in my team recently and hadn't come to a decision beyond "update to Java 11 and see how it goes after that". This pretty much solves our problems.

I would have preferred to see Amazon partnering with Red Hat or other open source groups on maintaining one well supported OpenJDK, but at least as it's all open source, patches should make their way to all versions.

Re: Corretto – No-cost, multiplatform, developer-preview distribution of OpenJDK

#140

Given that Corretto is in production at Amazon today could this by default become the most popular (by production instances) JVM? Let's say Corretto becomes the default in BeanStalk, Lambda, and maybe some popular AMI's. Would that be enough? Let's say sometime next year some performance benchmarks come out and Corretto is in fact faster than Oracle's JVM. Would people be quick to switch? Would enough people switch?…

I suspect it already is in use in Lambda, an AWS rep mentioned something about them using a custom JVM internally for Lambdas when they gave a talk at our company recently, so this is probably that.

As for the default on AMIs, it probably will go that way when OpenJDK 8 support ends next year. They'll have the option of distributing RedHat's OpenJDK build with their patches, or packaging their own. It'll probably be similar to the `mysql` package actually providing MariaDB, and no one will really notice.

I am intrigued if there will be noticable performance improvements. They do mention performance enhancements on the page, but I believe this is more about dealing with Oracle's licensing changes and maintaining support for the LTS releases. But there's plenty of incentive for them to make it better performing than alternatives too.

I expect my company will switch to this because we're already on Amazon Linux 2, and have been struggling to make a decision on how to update the JDK with future releases. But if there are performance improvements, that might push some more AWS users to switch to Amazon Linux over Ubuntu and other distros in EC2.

Post reply on HN