Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
-
Patch
-
Docs Required, Release Notes Required
Description
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
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}"
Attachments
Issue Links
- duplicates
-
IGNITE-16622 Add support for JDK 17
- Resolved
- links to