I installed on my odroid this image :
DietPi_OdroidN2-ARMv8-Bullseye
Problem is, that I want run a OpenHAB on this system, but it require a Java v11:
On Java 11 this works, because Nashorn is available. On Java 17 Nashorn is not available, so the script type
js
is not registered and thecreateAndLoad
method is never called.
How can I make a downgrade to v11 from actual v17 which is part of dietpi ?