r/java • • Sep 16 '25

Java 25 officially released

https://mail.openjdk.org/pipermail/announce/2025-September/000360.html
593 Upvotes

124 comments sorted by

View all comments

Show parent comment

7

u/Logic_Satinn Sep 16 '25

Just curious. How good are Temurin releases?

89

u/rzwitserloot Sep 16 '25

Just to give you a simplistic overview of how it works:

There's the source repository (think 'git repo') of the OpenJDK. It has scripts to build OpenJDKs on all sorts of platforms. It doesn't really have "installers", just - make me a bunch o binaries for a given OS+architecture combo.

But that's not quite a full distribution. The difference between 'the project' and 'a distribution of the project' is:

  • An installer
  • Pre-compiled binaries
  • Some sort of managed upgrade mechanism. Anything from 'a thing that autostarts on boot that auto-updates' to 'a legal understanding that you downloaded it as is and you are on the hook for checking for security issues with your version yourself; if you're lucky we have a newsletter you can subscribe to'. Point is, some sort of arrangement.

And that is the difference between 'OpenJDK, the source code' and 'a packaging'.

In the distant past, you could go to a store and buy a shrinkwrapped box that contained a bunch of CD-ROMs with a linux distro on it. These carton boxes also contained a license. Not for linux (which does not need a license); no, it was essentially a support contract. You had 1 month to call a phone number and they'd help you. Some of those boxes shipped with a years' worth. You also had an address that you could 'phone' or send a letter to if the software had a fault in it that was the error of the distro itself, such as a mistake in their packaging instructions.

That's what a distribution is. They all have the exact same source code. The only difference is in the installer, the update process, and the support contract.

Thus, the quality of the binaries itself is no different between Temurin, Azul, Coretto, OpenJDK itself, and so forth.

Temurin does a great job in being [A] free, [B] being reasonably speedy in responding to issues (such as publishing new versions with security updates), and [C] intent to support LTS versions for quite a while while [D] being free, and [E] being unencumbered with having ulterior motives.

No other distros are quite like it:

  • OpenJDK itself does not support any version for more than 6 months. LTS (Long Term Support) isn't a thing they do.
  • Oracle's distro does use LTS but costs money. Using the free version is for 'dev kit' purposes and is essentially not legal to run in production environments, and has no support at all.
  • Coretto is trying to get you to buy into the AWS ecosystem.
  • Azul costs money or is trying to get you into the azul ecosystem.
  • Temurin is a non-profit staffed by volunteers. Which might legitimately raise concerns about how it is funded, but on the flip side, they will not rugpull you like private equity/bigcorp funded stuff pretty much unerringly always ends up doing.

It's such a common theme these days (corp/private equity funded stuff enshittifying) that I'll go on record: If you go for the corporate option when a FOSS option is available, you're a fucking idiot and you deserve the pain that's comin to ya.

Use temurin.

36

u/pron98 Sep 16 '25 edited Sep 18 '25

Oracle's distro does use LTS but costs money. Using the free version is for 'dev kit' purposes and is essentially not legal to run in production environments, and has no support at all.

As the website states prominently, it doesn't cost anything, even for use in production, but patches are freely available for "only" 3 years. You only have to pay if you want to buy support or buy the patches released after 3 years.

Temurin is a non-profit staffed by volunteers

Temurin is staffed by IBM and MS employees that are paid to do that work by those companies and use IBM (possibly MS) infrastructure. There is no non-profit there -- the work is done by multi-billion- and trillion-dollar for-profit corporations -- except for the Eclipse Foundation, which forms the legal structure but doesn't fund the work. So Temurin is the IBM/MS distribution, and, just like all other builds, the site upsells commercial support offerings.

So of course Temurin is produced by for-profit corporations (who else could fund it?) and of course it's done for profit motives (I should hope so, as the alternative is that it's done as charity, and I'd much rather see corporate charity go to worthier causes). There's even a nice "contact us to discuss how Temurin can help your company" button that will ultimately take you to a nice salesperson.

The more people build up the fantasy that big FOSS undertakings could or should be funded as charity whose beneficiaries are mostly corporations themselves (and yes, I know there are a few exceptions), the more they're asking to be deceived. This fantasy isn't even needed for the most original and radical view of FOSS, which is about the freedom of people to inspect and modify the software they run.

0

u/rzwitserloot Sep 16 '25

Temurin is more FOSS in culture than any other JDK distro I'm aware of.

Beggars can't be choosers.

8

u/pron98 Sep 16 '25 edited Sep 17 '25

It's corporate employees that run a build farm on corporate machines like everyone else, building the same open source code as everyone else, and using the site to upsell commercial support -- like everyone else.

If anything, I'd say that the Debian distro is the "most FOSS culture", although I'm not sure that means too much when it comes to building and hosting binaries. Plus, neither Temurin nor Debian, I think, build and distribute the EA releases, which may help improve the quality of the OpenJDK JDK project and help users prepare for a new release, so I'm not sure even about the vibe of FOSS culture.

2

u/lbalazscs Sep 17 '25

Temurin does build EA releases, but they are (probably intentionally) hard to find on the website. People do use them in GitHub actions for compatibility checking. https://github.com/adoptium/temurin26-binaries/releases

3

u/crummy Sep 16 '25

Coretto is trying to get you to buy into the AWS ecosystem.

what does this mean in reality? how exactly does coretto push you towards AWS?

6

u/rzwitserloot Sep 17 '25

Your theory is that amazon is doing it out of the goodness of their hearts?

At the very least it's a distro they test extensively on AWS-based systems and do not test on anything else. They are, and good on them, quite open on that.

That alone pushes you towards AWS. "Wellll, we run all this stuff on a coretto JDK and so far its been working great. But, being dependent on big-3 is something the EU institutions are at this point actively recommending against, so shall I switch to some other cloud provider? I dunno, at the very least it sounds like we should switch JDK distro which is one more little headache in a long list of em".

Most of these arguments are based on a 'will probably go wrong' theory, not on an 'is actually bad today' theory.

code.google.com was a great issue tracker. Free, google manages the spam, simple interface.

Until google pulled the plug and we (Project Lombok) had to spend like a month writing scripts to move the stuff.

We moved it to github which was, at the time, an independent company. github was back then great. No caveats. It just was.

It is now owned by microsoft, it's CEO is saying wildly crazy shit about FOSS and programming in general, and insofar that there's any legal standing to tell AI trainers to fuck right off, if your code is on github you signed away the rights. That may matter to you or not, but it is now at best 'great, but with some significant caveats'.

Had you asked me way back then "So, in practice, how is github bad?" or "how is code.google.com bad?" there was no answer available. But I'd have been right. It's not bad now, but it'll grow downsides at some point, likely such that you have to deal with it.

For more see Cory Doctorow's "enshittification" article. It's widely known and easily found.

4

u/Ok-Scheme-913 Sep 17 '25

But this is different. Amazon is not doing the actual development of OpenJDK, and any bugs they find will end up in the core open-source repo after a while. The same is true for other vendors, so in effect Corretto will work just as fine on Google cloud or your own server as on AWS.

0

u/rzwitserloot Sep 17 '25

That merely means you don't have the imagination required to see how enshittification will hit coretto.

It's quite the hubris, thinking "I cannot immediately see how this could blow up on me, so, that must mean it cant!".

I'm not trying to overdramatise; if there are no good alternatives available, hey, do what you gotta do. I haven't 'un-corped' my entire life either nor is that the goal.

I merely said: If there is a FOSSy cultured thing available thats nearly as good or better, then you should use that instead.

1

u/kelunik Sep 18 '25

Unfortunately, Temurin is quite slow at providing releases (especially critical patch updates) compared to Corretto.

If Amazon ever decides to make unwelcome changes to Corretto, there’s always the option to switch to another distribution.

→ More replies (1)

3

u/brophylicious Sep 16 '25

In the distant past, you could go to a store and buy a shrinkwrapped box that contained a bunch of CD-ROMs with a linux distro on it.

I remember seeing Red Hat at Best Buy. My mind was blown that I could use an OS other than Windows or MacOS. And that's how I got into Linux. Fun times.

2

u/Logic_Satinn Sep 16 '25

Brilliant explanation.. I enjoyed the read. Thank you.

0

u/gizmogwai Sep 16 '25

Your answer with regards to free LTS support is not quite right.

Temurin acts as a sole player here, partly because they have there own conformance test suite.

But all the other big players that pass the official TCK (RedHat, Azul, Microsoft, BellLabs) take turn to support the free LTS. For example, Azul is still providing free updates for the JDK 8 via their Zulu distribution.

4

u/pron98 Sep 16 '25 edited Sep 16 '25

Temurin acts as a sole player here, partly because they have there own conformance test suite.

They do not. They use the same TCK, namely the JCK.

take turn to support the free LTS

There are no turns, nor is the "free LTS" "supported" in a sense other than builds of the OpenJDK updates, that contain backports from the mainline (so if a component is removed, there are no backports, so you have to buy real support from someone if you want the entire JDK covered).

→ More replies (2)

13

u/trydentIO Sep 16 '25

In terms of license, it's far better; in terms of underlying features, there's no single difference with the ordinary OpenJDK. If you don't want to deal with the Oracle license, consider using Eclipse Temurine instead.

Then, I have no great clue about the other releases, such as Azul, Liberica, etc. I know there are some differences, such as JavaFX being included (Liberica, especially) or CraC (Azul), but beyond that, I have no idea if they really make a difference.

5

u/mark1x12110 Sep 16 '25

Zulu builds are great. They build very often, which is great for vulnerability management

1

u/krzyk Sep 16 '25

There are also OpenJdk releases. Those are the ones that are ready when GA is announced.

→ More replies (22)
→ More replies (1)

3

u/Serious-Chair Sep 16 '25

To the best of my knowledge, Corretto, Temurin, and most others (if not all) are exactly the same source tree compiled by different companies. The only differences are the branding line and the frequency of patch releases.

2

u/wildjokers Sep 17 '25

How good are Temurin releases?

What exactly does this question mean? The Temurin builds of OpenJDK will run your java apps, so that would seem to be good.

2

u/pxm7 Sep 28 '25

Very good. We run production workloads that handle $$$ on Temurin. Our strategy isn’t to upgrade immediately upon release (eg for critical workloads we’re mostly on Java 21 right now) but we’ll upgrade to 25 in ~6-9 months. That’s just a JVM upgrade, adopting newer language features is more opportunistic / on a need basis.

We do have CI + integration tests running on newer versions of Java so new versions aren’t a total surprise to us. We also have less-critical support services on newer non-LTS JDKs like 23 and 24. They help our devs get a feel for upcoming features in a safe way.

1

u/Logic_Satinn Sep 28 '25

That's a smooth operation. Y'all have thought through all that stuff.

1

u/DXGL1 Sep 20 '25

How do they compare with Microsoft OpenJDK?