Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3299

Fix run_igb.sh script error with JDK 11

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Our "run_igb.sh" script fails with JDK11.

      Fix this.

        Attachments

          Activity

          Hide
          ann.loraine Ann Loraine added a comment - - edited

          JDK 1.8 options:

          Usage: java [-options] class [args...]
                     (to execute a class)
             or  java [-options] -jar jarfile [args...]
                     (to execute a jar file)
          where options include:
              -d32          use a 32-bit data model if available
              -d64          use a 64-bit data model if available
          

          In Java 11, there is no "-d64" option.

          /Users/aloraine/JDKs/zulu11.62.17-ca-fx-jdk11.0.18-macosx_x64/bin
          local aloraine$ ./java -d64
          Unrecognized option: -d64
          Error: Could not create the Java Virtual Machine.
          Error: A fatal exception has occurred. Program will exit.
          
          Show
          ann.loraine Ann Loraine added a comment - - edited JDK 1.8 options: Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available In Java 11, there is no "-d64" option. /Users/aloraine/JDKs/zulu11.62.17-ca-fx-jdk11.0.18-macosx_x64/bin local aloraine$ ./java -d64 Unrecognized option: -d64 Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
          Show
          ann.loraine Ann Loraine added a comment - - edited Submitting PR to parent branch. https://bitbucket.org/nfreese/nowlanfork-igb/pull-requests/2/igbf-3299-remove-deprecated-d64-option
          Hide
          ann.loraine Ann Loraine added a comment -

          FYI:

          Had to fork Nowlan's fork in order to use Bitbucket to submit a PR to that repository. Can't change the destination repository to a different upstream in bitbucket.

          Others have noticed this also:

          https://stackoverflow.com/questions/29633910/why-cant-i-specify-another-repository-for-pull-request-in-bitbucket

          Show
          ann.loraine Ann Loraine added a comment - FYI: Had to fork Nowlan's fork in order to use Bitbucket to submit a PR to that repository. Can't change the destination repository to a different upstream in bitbucket. Others have noticed this also: https://stackoverflow.com/questions/29633910/why-cant-i-specify-another-repository-for-pull-request-in-bitbucket
          Hide
          nfreese Nowlan Freese added a comment -

          PR merged

          Show
          nfreese Nowlan Freese added a comment - PR merged

            People

            • Assignee:
              ann.loraine Ann Loraine
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: