Jenkins 2.492.3 not showing web browser interface when using Oracle Java 21.0.5

Setup description:

  • Windows Server 2016
  • Oracle Java 21.0.5
  • Jenkins 2.492.3

When try to load it using Java 21.0.5 the GUI interface does never appear, instead of appears an error. However if i setup it to run with Java 17 it works perfect.

This is what the Jenkins output is displaying:

What could be the issue and how can i do for make it work ?

There are no other messages in the logs?

Nope that’s it, that’s why is so confuse this behaviour

What error does it show in the UI?
Have you checked the complete Jenkins log for errors? Maybe it is caused by some earlier problem in the startup phase. When the security realm is not working you might not be able to access the UI at all and are also not able to fix it via the UI.

Can you try running jenkins.war on the command line (make sure to run as the user the service runs as) with the same command line arguments that the service runs as? That way you can see ALL the errors (if there are additional ones).