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)