home tags events about login
one honk maybe more

benjojo posted 20 Jan 2025 17:05 +0000

The debian java/JRE/JDK situation seems insane.

bookworm (stable) is shipping JRE 17, lots of applications require at least 21, Trixie (next stable) is shipping JRE 21, the the current openJDK JRE version is 23

Most of the time if you search for the errors caused by out of date JRE's you get "just install Oracle JDK" with instructions, but as far as I can squint that comes with some licencing payment obligation. All of this feels like putting your head into a alligators mouth!

(Do not reply "use nix/arch")

nabijaczleweli@10101.. replied 20 Jan 2025 17:56 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/hln2Yfrm4d6hnKyX2B

@benjojo yes, the default jdk package on trixie depends on jdk 21; why this isn't jdk 23 is not obvious to me, but one has to assume it's because either (a) IME java isn't actually backwards-compatible so the default is only updated when the entire archive can be built with jdk 23? or (b) it's following Some openjdk stability policy

grawity@social.treeh.. replied 20 Jan 2025 19:29 +0000
in reply to: https://benjojo.co.uk/u/benjojo/h/fTN4G3QM5zRf78M7f1

@benjojo For UniFi we used to use the .deb repository provided by Eclipse/Temurin/Adoptium – whatever it is named this week – which seems to be the main recommended non-Oracle build, last I searched.

(Was tempted to use the "Microsoft Build of OpenJDK" for the meme, but it seems to have more of an Azure focus. Regardless they provide an APT repository as well.)