My nexus service stopped running

The error still suggests that a java version 11 is used.
The jax support was removed in java 11.
Is there a java 11 (or higher) installation present on the system?
Maybe there is a JAVA_HOME variable set? Or an alternative java path in the Nexus startup script?