Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2132

Java version parsing is not working for OpenJDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.10.0
    • 0.9
    • Deployment / Scripts
    • None

    Description

      Reported by aljoscha:

      /home/flink/flink-bin/bin/../bin/jobmanager.sh: line 32: [: openjdk
      version "1.8.0_40-internal": integer expression expected
      

      On Ubuntu 14.10 with openjdk 8.

      The script expects a String of format

      java version "1.8.0_20"
      Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
      Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
      

      but the openjdk string looks as follows

      openjdk version "1.8.0_40-internal"
      OpenJDK Runtime Environment (build 1.8.0_40-internal-b09)
      OpenJDK 64-Bit Server VM (build 25.40-b13, mixed mode)
      

      Attachments

        Activity

          People

            uce Ufuk Celebi
            uce Ufuk Celebi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: