Openfire upgrade to >v5.0.0-1 java dependency on Rocky 8

Hello all!

I have been running a couple Openfire clustered servers for years now without and issues.

I would like to upgrade to V5 but the rpm install fails dependency checks. Here is the info from the server I am trying to update.

Rocky Linux 8.10 currently running Openfire v4.7.5.

java --version
openjdk 24.0.2 2025-07-15
OpenJDK Runtime Environment (Red_Hat-24.0.2.0.12-1) (build 24.0.2+12)
OpenJDK 64-Bit Server VM (Red_Hat-24.0.2.0.12-1) (build 24.0.2+12, mixed mode, sharing)

When attempting to install the RPM I get:
error: Failed dependencies:
java >= 1:17.0.0 is needed by openfire-5.0.0-1.noarch

I have also tried to install it with:
java --version
openjdk 17.0.16 2025-07-15 LTS
OpenJDK Runtime Environment (Red_Hat-17.0.16.0.8-1) (build 17.0.16+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.16.0.8-1) (build 17.0.16+8-LTS, mixed mode, sharing)
And get the same error.

Thank you in advance for any assistance!

Ron Fancella

Maybe your JRE was installed manually so the package manager think it’s not installed

Thank you stokito for your prompt reply.

It was installed by dnf.

Please show what a package version there, I don't know how but it may be something like `dnf list openjdk`.
As a guess, the dependency version should be not `java >= 1:17.0.0` but something like `java >= 17.0.0`.

Anyway, you should be able to install a package with ignoring of dependencies. Check the dnf help for something like –force-depend`