Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7576

ignite.sh|bat and related scripts version check is not compatible with OpenJDK

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: build
    • Labels:
      None

      Description

      The version check used in various startup and utility scripts incorrectly flags OpenJDK as inappropriate due to a improper check on the version string.

      On line 66 of the following file, OpenJDK will not be detected because the line starts with openjdk rather than java (example attached)

      https://git-wip-us.apache.org/repos/asf?p=ignite.git;a=blob;f=bin/include/functions.sh;h=8f4570bd420d9e5c3815a6feb40e86c3986234be;hb=HEAD

       

        Attachments

        1. openjdk.txt
          0.1 kB
          David Wimsey
        2. oraclejdk.txt
          0.2 kB
          David Wimsey

          Issue Links

            Activity

              People

              • Assignee:
                dwimsey David Wimsey
                Reporter:
                dwimsey David Wimsey
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: