Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1189853

Summary: java-1.8.0-openjdk provides is missing java for RHEL6
Product: Red Hat Enterprise Linux 6 Reporter: Katerina Odabasi <kanovotn>
Component: java-1.8.0-openjdkAssignee: jiri vanek <jvanek>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.6CC: dbhole, dkutalek, jdoyle, salmy, sbaiduzh, snagar, timothy.savannah
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The java-1.8.0-openjdk package for Red Hat Enterprise Linux 6 did not provide the "java" virtual package. Consequently, when a package needed to use OpenJDK 8, it was necessary to require "java-1.8.0-openjdk" instead of commonly used "java". Now, it is sufficient to require "java" as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 07:44:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 900676, 1200567    

Description Katerina Odabasi 2015-02-05 16:03:57 UTC
Description of problem:
With RHEL6 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):
java-1.8.0-openjdk-1.8.0.31-1.b13.el6_6

How reproducible:
always

Actual results:
# repoquery --provides --plugins java-1.8.0-openjdk
java-1.8.0-openjdk = 1:1.8.0.31-1.b13.el6_6
java-1.8.0-openjdk(x86-64) = 1:1.8.0.31-1.b13.el6_6
...

Expected results:
The package also provides "java"

Comment 3 Tim Savannah 2015-03-11 15:14:49 UTC
Indeed, 1.7.0 and prior base openjdk contained everything needed to run java, and -devel contained the devel stuff... as expected.

1.8.0 base package contains awt and an icon. This is bad.

/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-1.b13.el6_6.x86_64/jre/bin/policytool
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-1.b13.el6_6.x86_64/jre/lib/amd64/libawt_xawt.so
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-1.b13.el6_6.x86_64/jre/lib/amd64/libjawt.so
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-1.b13.el6_6.x86_64/jre/lib/amd64/libjsoundalsa.so
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.31-1.b13.el6_6.x86_64/jre/lib/amd64/libsplashscreen.so
/usr/share/applications/java-1.8.0-openjdk-1.8.0.31-1.b13.el6_6.x86_64-policytool.desktop
/usr/share/icons/hicolor/16x16/apps/java-1.8.0.png
/usr/share/icons/hicolor/24x24/apps/java-1.8.0.png
/usr/share/icons/hicolor/32x32/apps/java-1.8.0.png
/usr/share/icons/hicolor/48x48/apps/java-1.8.0.png

Comment 4 jiri vanek 2015-03-11 15:49:33 UTC
by base, you mean headless?
If headless contains awt then this is wrong.

Otherwise headless+jre still provides all what you need to run jva application (and devel to develop)

Not sure how your comment is related to misisng virtual provides.

Comment 6 jiri vanek 2015-04-09 12:16:50 UTC
Latest build contains virtual jre provides

Comment 8 Tim Savannah 2015-04-09 15:43:11 UTC
My mistake, I posted on wrong ticket. This issue bit us as well, glad to see it's moving forward!

Comment 11 errata-xmlrpc 2015-07-22 07:44:43 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1427.html