Ufuk Celebi created FLINK-2132:
----------------------------------

             Summary: Java version parsing is not working for OpenJDK
                 Key: FLINK-2132
                 URL: https://issues.apache.org/jira/browse/FLINK-2132
             Project: Flink
          Issue Type: Bug
          Components: Start-Stop Scripts
    Affects Versions: master
            Reporter: Ufuk Celebi
            Priority: Critical


Reported by [~aljoscha]:

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

On Ubuntu 14.10 with openjdk 8.

The script expects a String of format
{code}
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)
{code}
but the openjdk string looks as follows

{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to