20 lines
859 B
Markdown
20 lines
859 B
Markdown
|
# VM Options
|
||
|
|
||
|
Java 17 (see https://stackoverflow.com/questions/73465937/apache-spark-3-3-0-breaks-on-java-17-with-cannot-access-class-sun-nio-ch-direct)
|
||
|
|
||
|
```shell
|
||
|
--add-opens=java.base/java.lang=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.io=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.net=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.nio=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.util=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
|
||
|
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
|
||
|
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
|
||
|
--add-opens=java.base/sun.nio.cs=ALL-UNNAMED
|
||
|
--add-opens=java.base/sun.security.action=ALL-UNNAMED
|
||
|
--add-opens=java.base/sun.util.calendar=ALL-UNNAMED
|
||
|
--add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED
|
||
|
```
|