Cannot install latest community edition neo4j-2025.04.0

Not sure what I'm doing wrong here.
Env is Centos with JDK/JRE 21.0.6 from openlogic
but when trying to install latest community edition neo4j-2025.04.0, get the error saying that JDK requirement is not met.
Below is error and jdk info from host env.

--> Finished Dependency Resolution
Error: Package: cypher-shell-2025.04.0-1.noarch (neo4j)
           Requires: java-21 >= 21
Error: Package: neo4j-2025.04.0-1.noarch (neo4j)
           Requires: java-21
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[neo4j@ip-10-0-2-115 ~]$ env|grep JAVA_HOME
JAVA_HOME=/home/neo4j/local/openlogic-openjdk-jre-21.0.6+7-linux-x64/
[neo4j@ip-10-0-2-115 ~]$ java -version
openjdk version "21.0.6" 2025-01-21
OpenJDK Runtime Environment OpenLogic-OpenJDK (build 21.0.6+7-adhoc.root.jdk21u)
OpenJDK 64-Bit Server VM OpenLogic-OpenJDK (build 21.0.6+7-adhoc.root.jdk21u, mixed mode)

found the problem.
seems like the JDK/JRE must be installed via rpm or yum. It cannot be just local file that can be referenced through ln - s. i.e. manually create ln -s to link /usr/bin/java to local(private) jdk