You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "David Wimsey (JIRA)" <ji...@apache.org> on 2018/01/31 01:50:00 UTC

[jira] [Updated] (IGNITE-7576) ignite.sh|bat and related scripts version check is not compatible with OpenJDK

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

David Wimsey updated IGNITE-7576:
---------------------------------
     Attachment: openjdk.txt
                 oraclejdk.txt
    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]

 

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

 

On line 66, thats a pretty bad version check, never has a chance of working with OpenJDK.

 

        Summary: ignite.sh|bat and related scripts version check is not compatible with OpenJDK  (was: ignite.sh expects only oracle jdk, not openjdk)

> ignite.sh|bat and related scripts version check is not compatible with OpenJDK
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-7576
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7576
>             Project: Ignite
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.4
>            Reporter: David Wimsey
>            Priority: Blocker
>             Fix For: 2.4
>
>         Attachments: openjdk.txt, oraclejdk.txt
>
>
> 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]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)