Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2936

Add RedHat default Oracle Java install location to detection script

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: toolchain
    • Labels:
      None

      Description

      When following the RedHat documentationfor installing Oracle 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:

      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 ...
      

      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.

        Attachments

        1. BIGTOP-2936.patch
          1 kB
          Lars Francke

          Activity

            People

            • Assignee:
              larsfrancke Lars Francke
              Reporter:
              larsfrancke Lars Francke
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: