You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "YoungWoo Kim (JIRA)" <ji...@apache.org> on 2017/11/22 07:10:00 UTC
[jira] [Resolved] (BIGTOP-2936) Add RedHat default Java install
location to detection script
[ https://issues.apache.org/jira/browse/BIGTOP-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YoungWoo Kim resolved BIGTOP-2936.
----------------------------------
Resolution: Fixed
> 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
> Assignee: Lars Francke
> Fix For: 1.3.0
>
> Attachments: BIGTOP-2936.patch
>
>
> 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)