With Red Hat Enterprise Linux 7.1, the java-1.8.0-openjdk packages do not provide "java" in the RPM metadata, which breaks compatibility with packages that require Java and are available from the Enterprise Application Platform (EAP) channel. To work around this problem, install another package that provides "java" in the RPM metadata before installing java-1.8.0-openjdk.
Description of problem:
With RHEL7.1 java-1.8.0-openjdk package doesn't contain in provides "java" (it contains only "java-1.8.0-openjdk".
This breaks compatibility with packages from EAP channel which requires "java".
Version-Release number of selected component (if applicable):
repoquery --provides --plugins java-1.8.0-openjdk
java-1.8.0-openjdk = 1:184.108.40.206-2.b13.el7
java-1.8.0-openjdk(x86-64) = 1:220.127.116.11-2.b13.el7
The package also provides "java"
This is not a bug, it is a feature. Please see:
https://bugzilla.redhat.com/show_bug.cgi?id=1155783 (yes it is for rhel 6 but it is same issue)
If you are more interested in this topic, search how it was during addition of openjdk7 into rhel6/
EAP supports multiple java versions. EAP packages then cannot require specific java version, but must use generic "java".
For example java-1.7.0-openjdk on RHEL7.1 has:
# repoquery --provides --plugins java-1.7.0-openjdk
java = 1:1.7.0
java-1.7.0 = 1:18.104.22.168-22.214.171.124.el7_0
java-1.7.0-openjdk = 1:126.96.36.199-188.8.131.52.el7_0
java-1.7.0-openjdk(x86-64) = 1:184.108.40.206-220.127.116.11.el7_0
java-fonts = 1:18.104.22.168
java-openjdk = 1:22.214.171.124-126.96.36.199.el7_0
There are more examples like java-1.6.0-openjdk on RHEL5.
Please find already existing bug for this topic. I again repeat to you, this is intentional.
Ok. Sorry. Returning of java provides is opened only for rhel 6. And In some future should be done aslo for 7.
The provides are there for some time:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.