Status: Verified (View Workflow)
Affects Version/s: 7.2.0.GA.CR2
Fix Version/s: 7.2.1.GA
Steps to Reproduce:
- get clean RHEL7.6 installation
- install the JDK11 rpm package: yum install java-11-openjdk
- configure EAP7.2 repository and install it: yum groupinstall eap7-wildfly
- installation will require to install some other java package even though there is JDK11 already present on the system
Note: this is only RHEL7 specific, as I don't see jdk11 package on RHEL6 at the moment.
Problem: One cannot use EAP7.2 RPM installation with default RHEL jdk11 package (java-11-openjdk-188.8.131.52-3.el7_6.x86_64) unless there is also some other JDK variant installed on the system or unless it forces yum to ignore package requirements.
Reason for this seems to be incorrect requirements for the eap7-wildfly package or problematic 'provides' information of jdk11 package:
notice the java = 1:1.8.0
notice the java-11 = 1:184.108.40.206-3.el7_6, no simple java
notice the java >= 1:1.8
Due to this provides/requires discrepancy, EAP7.2 that is installed via RPM packages cannot be installed on system where only JDK11 package is installed (no other java version).
There is a workaround that user first installs JDK8 to fulfill eap7-wildfly rpm requirements then installs EAP7.2 and JDK11 and ensures that JDK11 is used as a default on the system.