You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2022/12/19 08:08:00 UTC

[jira] [Resolved] (IGNITE-15635) start ignite with JDK17

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

Pavel Tupitsyn resolved IGNITE-15635.
-------------------------------------
    Resolution: Duplicate

Duplicates IGNITE-16622

> start ignite with JDK17
> -----------------------
>
>                 Key: IGNITE-15635
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15635
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Freeman Yue Fang
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> the JVM flag --illegal-access is removed since JDK17, so the scripts under bin folder need more --add-opens flag. I revised bin/ignite.sh a bit to  launch ignite with JDK17 successfully
> {code}
> elif [ $version -ge 17 ] ; then
>     JVM_OPTS="\
>         --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED \
>         --add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
>         --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
>         --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
>         --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED \
>         --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED \
>         --add-opens java.base/java.nio=ALL-UNNAMED \
>         --add-opens java.base/java.util=ALL-UNNAMED \
>         --add-opens java.base/java.lang=ALL-UNNAMED \
>         ${JVM_OPTS}"
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)