You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2017/11/21 10:15:01 UTC
[jira] [Created] (BIGTOP-2936) Add RedHat default Java install
location to detection script
Lars Francke created BIGTOP-2936:
------------------------------------
Summary: Add RedHat default Java install location to detection script
Key: BIGTOP-2936
URL: https://issues.apache.org/jira/browse/BIGTOP-2936
Project: Bigtop
Issue Type: Improvement
Components: toolchain
Reporter: Lars Francke
When following the RedHat [documentation|https://access.redhat.com/solutions/732883]documentation for installing JDK 8 it is being installed in a location that does not seem to be detected by the {{bigtop-detect-javahome}} script.
It is being installed in a directory that looks like this: {{/usr/lib/jvm/java-1.8.0-oracle-1.8.0.141-1jpp.1.el7_3.x86_64}}
From the RPM postinstall script:
{code}
alternatives --install /usr/lib/jvm/java-oracle ...
alternatives --install /usr/lib/jvm/java-1.8.0 ...
alternatives --install /usr/lib/jvm/java-1.8.0-oracle ...
{code}
I would suggest adding those three locations. The last two can be added to {{JAVA8_HOME_CANDIDATES}} and the first to {{MISCJAVA_HOME_CANDIDATES}}.
If you agree I'm happy to prepare a patch.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)