-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
None
-
None
-
False
-
None
-
False
-
-
JWS on RHEL9 will install OpenJDK8 by default, but OpenJDK8 is not supported in RHEL9 even if it's distributed from rhel-9-for-x86_64-appstream-rpms repository (see OpenJDK Life Cycle and Support Policy).
[root@rhel9 ~]# yum groupinstall jws5 ... =========================================================================================================================================== Package Architecture Version Repository Size =========================================================================================================================================== Installing group/module packages: jws5-mod_cluster-tomcat noarch 1.4.3-2.Final_redhat_00002.1.el9jws jws-5-for-rhel-9-x86_64-rpms 9.8 k jws5-tomcat noarch 9.0.62-9.redhat_00005.1.el9jws jws-5-for-rhel-9-x86_64-rpms 113 k jws5-tomcat-admin-webapps noarch 9.0.62-9.redhat_00005.1.el9jws jws-5-for-rhel-9-x86_64-rpms 73 k jws5-tomcat-vault noarch 1.1.8-4.Final_redhat_00004.1.el9jws jws-5-for-rhel-9-x86_64-rpms 407 k jws5-tomcat-webapps noarch 9.0.62-9.redhat_00005.1.el9jws jws-5-for-rhel-9-x86_64-rpms 80 k Installing dependencies: ... java-1.8.0-openjdk-headless x86_64 1:1.8.0.352.b08-2.el9_0 rhel-9-for-x86_64-appstream-rpms 33 M <<<===
This seems to be due to jws5-tomcat-9.0.62-9.redhat_00005.1.el9jws.noarch depends on java-1.8.0-headless. We should modify the dependency to OpenJDK11 or later, especially in RHEL9.
[root@rhel9 jws5]# rpm -qpR jws5-tomcat-9.0.62-9.redhat_00005.1.el9jws.noarch.rpm (java-headless >= 1:1.8 or java-1.8.0-headless or java-11-headless or java-17-headless or java >= 1:1.8)