Openhab.service not Starting

Hello,
I am relatively new to openhab.
I have updated my Ubunut system and now I get the Gateway 502 error when I open the openhab page

Also the service does not start anymore:
openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2023-11-09 13:51:44 CET; 1s ago
Docs: Introduction | openHAB
https://community.openhab.org
Process: 8839 ExecStart=/usr/share/openhab/runtime/bin/karaf ${OPENHAB_STARTMODE} (code=exited, status=1/FAILURE)
Main PID: 8839 (code=exited, status=1/FAILURE)

I need Help pls

openjdk version “18.0.2” 2022-07-19
OpenJDK Runtime Environment Zulu18.32+11-CA (build 18.0.2+9)
OpenJDK 64-Bit Server VM Zulu18.32+11-CA (build 18.0.2+9, mixed mode, sharing)

how can i remov the jdk 18? I must of the version 17

and this guide may help to get you back on 17

You can switch between versions and make an other one the default: