OpenHAB and future JDK versions. When?

Sorry to bump an old thread, but it seems the logical place to put this question, as it follows the theme.

I have been using Odroid C4 devices with Arm64 chips, running DietPi V7 (Debian Buster) which loads openJDK11 quite happily and openHAB3.2 is working really well on it. (as well as some other software)

However, as part of asking Michal of DietPi to include openHAB in the dietpi-sopftware menu, he has asked if openHAB3 ONLY works on Java 11 or if it will run on Java 17, as that is what Debian Bulleye is moving to.

so my question is…

  • Is openHAB3 limited to Java 11, or can it run on Java 17?

Either way, Michal will either let it roll on Java 17, or as part of the Dietpi-software script he will edit the /etc/default/openhab file and point to Java 11 (which well be installed in the same process as a dependency.