Downgrade java 11 to 8 Dietpi 7.5.2 bullseye

Hi community,

due to compatibility issues with openhab 2.5.12 I’d like to downgrade from java 11 to java 8.
possible on Dietpi 7.5.2? Whats steps needed to do?

thanks

Update:
Unstalled jre and jdk in dietpi-software and installed both in version 8 via apt.
Something mandatory to consider?

At the moment DietPi will install latest available JAVA version if using dietpi-software

you would need to install alternative version yourself if required.