Red Hat Bugzilla – Bug 1189853
java-1.8.0-openjdk provides is missing java for RHEL6
Last modified: 2015-07-22 03:44:43 EDT
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"
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
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.
Latest build contains virtual jre provides
My mistake, I posted on wrong ticket. This issue bit us as well, glad to see it's moving forward!
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