Even though it looks like it depends on Java 17
# dnf groupinfo jboss-eap8 Group: Red Hat JBoss EAP 8 on JDK 17 Description: Red Hat JBoss Enterprise Application Platform 8.0 on JDK 17 Mandatory Packages: eap8-artemis-native-wildfly eap8-runtime eap8-wildfly eap8-wildfly-modules java-17 or java-17-headless
in reality, it depends on JDK 11.
# dnf groupinstall jboss-eap8 ... ... No match for group package "java-17 or java-17-headless" ... ... eap8-wildfly-java-jdk11 ... java-11-openjdk-headless ...
Note No match for group package "java-17 or java-17-headless", the jboss-eap8-jdk11 group prints the same with "java-11 or java-11-headless".