I installed both JDK 17 and 18 and indeed it does not boot. Yet issue is not caused by openhab itself but underlying components (Karaf/Equinox).
Looking closer at the issue - seems JDK 17 removed one of very common, yet not officially supported mechanism called sun.misc.Unsafe. This caused issues for many things, including Equinox and Felix ([FELIX-6430] Felix uses sun.misc.Unsafe, crashed on JDK 17 - ASF JIRA). I’d say that you’re safe up to 16, getting on Java 17 will require some more dependency updates.
In order to get up to JDK 17 you have to wait for Karaf to update Felix/Equinox to latest versions. Only then it will be possible to run whole thing on this release.
