Openfire on debian with open java19 error

Hello all
I am trying to install openfire on my linux 9 server
I am running openjava 19-ea on my server.
However, I now get an error in the web interface and I can’t configure openfire any further
the error I get is:

Error: Can not proceed with Openfire Setup.

Your current installation fails to meet minimum server requirements - please see the checklist below:
* At least JRE 1.8

the exact java version is

openjdk version "19-ea" 2022-09-20
OpenJDK Runtime Environment (build 19-ea+1-6)
OpenJDK 64-Bit Server VM (build 19-ea+1-6, mixed mode, sharing)

my java version is at: /usr/java/jdk-19
who can tell me how to get openfire working?
openjava19 should remain as it is and people should remain java by default.

who can help me

I suspect the debian control file needs help

Pre-Depends: default-jre-headless (>= 1.8) | java8-runtime-headless | java8-runtime | java9-runtime-headless | java9-runtime

Any ideas what would be more appropriate?

first of all thank you very much for the response.
Now I want to solve this problem but I wouldn’t know where to find that control file.
hopefully someone can tell me so I can look at it and adjust it.