Here’s a refined post focusing specifically on which version of Java 21 to use:
Title: Which Java 21 Version is Recommended for openHAB?
Hi everyone,
I’m exploring the use of Java 21 with openHAB and wanted to ask the community and maintainers about the best choice:
Is there a specific Java 21 distribution (e.g., Oracle JDK, OpenJDK, Temurin, etc.) that works best with openHAB?
Are there any known issues or limitations with certain Java 21 builds?
Is the openHAB team recommending a specific update version within Java 21 (e.g., 21.0.1 or newer)?
I’m currently on openHAB 4.x but also preparing for openHAB 5.x, where Java 21 will be required. Any guidance to ensure compatibility and stability would be greatly appreciated.
It might depend on your OS distribution and availability.
As far as I understood, openJDK21 is not in the repositorys for arm64.
I also had to add a beta repo to my new debian12 VM to be able to install openJDK21.