You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Peter Ivanov (JIRA)" <ji...@apache.org> on 2019/03/22 10:56:00 UTC

[jira] [Comment Edited] (IGNITE-11600) Fix launch script for Java 12

    [ https://issues.apache.org/jira/browse/IGNITE-11600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16798904#comment-16798904 ] 

Peter Ivanov edited comment on IGNITE-11600 at 3/22/19 10:55 AM:
-----------------------------------------------------------------

Not sure that this is correct fix. It will by default silently fail with on future JDK versions to prevent from starting on unsupported JDKs.
How about double clause:
{code}
IF %MAJOR_JAVA_VER% EQU 11 IF %MAJOR_JAVA_VER% EQU 12 (
...
{code}


was (Author: vveider):
Not sure that this is correct fix. It will by default silently fail with future JDK versions to prevent from starting on unsupported JDKs.
How about double clause:
{code}
IF %MAJOR_JAVA_VER% EQU 11 IF %MAJOR_JAVA_VER% EQU 12 (
...
{code}

> Fix launch script for Java 12
> -----------------------------
>
>                 Key: IGNITE-11600
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11600
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Dmitriy Pavlov
>            Assignee: Dmitriy Pavlov
>            Priority: Critical
>              Labels: important
>             Fix For: 2.7.5
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> bin/ignite.bat:251
> if "%MAJOR_JAVA_VER%" == "11" (
> need to change to "%MAJOR_JAVA_VER%" GEQ "11" (



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