Redhat server with Openfire 4.9.2 installed cannot "dnf update" error: Failed dependencies java11

Hi all, please help to investigate
For background.
Server run on Redhat 8.10 and java openjdk 11 already installed as below

rpm -qa |grep java 
java-11-openjdk-11.0.25.0.9-2.el8.x86_64
java-11-openjdk-devel-11.0.25.0.9-2.el8.x86_64
java-11-openjdk-headless-11.0.25.0.9-2.el8.x86_64

and JAVA_HOME already set also

java -version
openjdk version "11.0.25" 2024-10-15 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.25.0.9-1) (build 11.0.25+9-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.25.0.9-1) (build 11.0.25+9-LTS, mixed mode, sharing)

when install Openfire 4.9.2 from rpm package still error dependencies

error: Failed dependencies:
        java >= 1:11.0.0 is needed by openfire-4.9.2-1.noarch

Then need to install rpm with --nodeps that make rpm package confilc dependencies
when do "dnf update / yum update " will error and cannot update os with error java >= 1:11.0.0 is needed by openfire-4.9.2-1.noarch

Any one can recommend solution to fix this without uninstall openfire ?