JDK 6 dependency problem with RPM installation of JBoss EAP 6

Solution Verified - Updated -

Issue

  • Trying to install JBoss EAP6 using RPMs and following the instructions in the installation guide, we can run:
    yum groupinstall jboss-eap6

However the game of dependencies requires a user to install packages, which are notably including Java 6 (java-1.6.0-openjdk)packages.
We already have java-1.7.0-openjdk installed on the system and we want to use it, not any other Java version or flavour.
Why do we have to use other Java version instead of java-1.7.0-openjdk when install EAP6 using RPMs?

Maybe it has to do with the fact that this command:
yum provides java
does not find OpenJDK7 (while it finds IBM JDK7 or OpenJDK6 or many others).

Hence, having the RPM for java-1.7.0-openjdk providing the 'java' features/resource declared should solve this problem.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.0 RPM Installer
  • Red Hat Enterprise Linux (RHEL)
    • Santiago 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.