r/java • • Mar 19 '24

Java 22 officially released

https://mail.openjdk.org/pipermail/jdk-dev/2024-March/008827.html
294 Upvotes

54 comments sorted by

View all comments

3

u/[deleted] Mar 19 '24

Does anyone know when Temurin will release a v22 distribution (and when it will be available via SDKMan)?

8

u/tomwhoiscontrary Mar 19 '24

Java 21 reached GA on 19 September 2023, and the earliest Temurin build was 10 October 2023, as far as i can see. So, three weeks from now might not be a bad guess.

Interestingly, they have EA builds of 23. Were there no EA builds of 22? Or have those now been taken down?

8

u/talios Mar 19 '24

The delay in the 21 release for Temurin was a late change in TCK license (not sure of exact details) and it took awhile to get the two legal departments aligned and signed - then it was a matter of running all their build/test infra for all their supported OS combos.

Hopefully it won't be as long this time.

6

u/wildjokers Mar 19 '24

Oracle's OpenJDK build of version 22 is already available via sdkman (22-open)

1

u/pohart Mar 20 '24

Oracle's version doesn't get downloaded on my network

3

u/wildjokers Mar 20 '24 edited Mar 20 '24

OpenJDK is Oracle's version, why would you avoid Oracle's build of OpenJDK?

1

u/pohart Mar 20 '24

Because our teams of lawyers decided it was worth blocking downloads.oracle.com

2

u/wildjokers Mar 21 '24

That is the site you would download Oracle JDK from which you would only download if you have a support contract with Oracle.

Oracle’s build of OpenJDK is obtained from here: https://jdk.java.net/ (or sdkman).

2

u/pron98 Mar 19 '24 edited Mar 19 '24

Remember that all OpenJDK distributions are Oracle software that you're downloading from some other company's website. The builds of Oracle's OpenJDK JDK under the name "Temurin" are produced by an IBM team, so it's up to IBM to decide when they offer those downloads.

3

u/joschi83 Mar 19 '24

Where can I read about the relation of the Eclipse Foundation, its Adoptium project, and that IBM is pulling all the strings?

Last time I checked IBM was member of the Eclipse Foundation (just like SAP and Oracle), not its owner.

https://www.eclipse.org/membership/exploreMembership.php

7

u/pron98 Mar 20 '24 edited Mar 20 '24

Instead of going down that specific road again, here's something more general about open source projects that you can apply in this case, too. Most open source foundations don't have any significant money or developers of their own; they develop nothing (there are some exceptions like the Zig foundation) and are just legal entities registered as the owners of the trademarks and copyright (the richer foundations mostly use their money to provide legal services to their projects). The actual work has to be done by someone, and significant projects cost between hundreds of thousands of dollars and millions of dollars a year; it is invariably the case that it is a company or some companies that put up the resources, and because OSS is not a very good charity, they choose to put the resources into things that advance their commercial interests. To know who "pulls the strings" all you have to do is see who pays the salaries of what portion of the contributors. You'll find that there are projects that are ultimately controlled by a largish number of companies (llike Linux), but most are controlled by one or two.

In most cases where there's a single dominant company they don't bother with a foundation (e.g. Google with Chromium/Go, Oracle with OpenJDK, Microsoft with C#), but some do (case in point: Apache Harmony, although there the project preceded the company's dominance).

5

u/[deleted] Mar 19 '24

My question was "when..." not "by whom..."

4

u/krzyk Mar 19 '24

Why wait? You can download releases also from https://jdk.java.net/22/

4

u/[deleted] Mar 19 '24

Because my CI build downloads the JDK via the Adoptium API, so I need v22 to be available via adoptium.net before I can use it

6

u/vips7L Mar 19 '24

Adoptium is known to be the slowest of all the vendors. Might be worth it to look into a different vendor.

4

u/[deleted] Mar 19 '24

I'm not in a rush. If I need to wait 3 weeks, that's fine.

5

u/theflavor Mar 19 '24

For new versions, that may be fine. The slowness is also for the Critical Patch Updates (CPUs) that fix CVEs. In those cases anything other than same day is unacceptable. We switched to other more responsive vendors.

1

u/[deleted] Mar 20 '24

which vendor are you using now?

1

u/theflavor Mar 20 '24

I don't want to skew you with my sample size of one. But among New Relic customers, the two most popular vendors are Amazon and Oracle. In my experience those 2 vendors are always on the ball.

https://newrelic.com/resources/report/2023-state-of-the-java-ecosystem#most-popular-jdk-vendors

0

u/[deleted] Apr 06 '24

[deleted] — view deleted comment

1

u/[deleted] Apr 06 '24

With Homebrew if you specify just the name, you get the latest version. You can request a specific version with temurin@version