I have on my Debian 11 Bullseye these JDK installed :
sudo update-java-alternatives -l
java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64
I want to switch to OpenJDK 17 and would to know if the Eclipse Temurin OpenJDK 17 is preferable to install instead of deb OpenJDK 17 package?
NB: Temurin advantages according to Adoptium are :
supports high-quality, TCK certified runtimes and associated
technology for use across the Java™ ecosystem
2
Answers
lwjgl had issues with non-Adoptium JVMs from 11 onward. They seem to have fixed it with version 3.
As for this writing, JOGL also has this issue but does not have a fix AFAIK.
As a rule of thumb, just stick with what the official Debian repositories provide to be sure to receive regular updates and more important: Security updates released by the Debian project.
Before you resort to unpack tarballs into whatever location you should watch out for a maintained repository.
In case of Adoptium you might want to add their official repository that has been published on 2021-12-30.
https://blog.adoptium.net/2021/12/eclipse-temurin-linux-installers-available/
TCK certification might be worth only if you intend to ship commercial software to industry customers which insist on it.