Tumbleweed Java Version reverted from 20 to 11

Just did the updates on Tumbleweed; openJDK version 20 was removed, and now I am back on version 11, and no longer have the Java compiler. Is there a way to find out why this has occurred?

Also, is it OK to manually re-install openJDK?

Welcome to the forum !!

Hmmm, that’s odd, I ran a zypper dup on my two desktops last night, and I noticed there was a Java change, but I didn’t pay attention what the version switch was.

Technically, it’s at version 21 now. I booted a laptop just now to check it, and it’s at version 11 - talk about waaaaaay behind (not my choosing).

I’ll boot the desktop shortly and check what changed Java wise.

Thanks for the observation!

A zypper search for openJDK shows openJDK 21 is available, but not openJDK 20.
I manually installed version 21, and then used update-alternatives --config java to set the Java runtime to the later version.

OpenJDK 21 package sets link priority to 0, while version 11 had some non-zero priority. Sounds like a packaging bug.

# priority must be 6 digits in total
#global priority        3105
%global priority        0