You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2015/06/02 11:33:17 UTC

[jira] [Resolved] (FLINK-2132) Java version parsing is not working for OpenJDK

     [ https://issues.apache.org/jira/browse/FLINK-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ufuk Celebi resolved FLINK-2132.
--------------------------------
    Resolution: Fixed

Fixed in d22e9f8

> 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
>            Assignee: 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)