Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Java 9 support

Mark Vainomaa edited this page Aug 27, 2018 · 4 revisions

Java 9 support

Note: obsolete tutorial, do not try this in production.

As Java 9 is out at the time of writing, I implemented initial Java 9 support in used libraries (LegacyLauncher fork and Shuriken) and Orion

I used Java version:

java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

Flags required to get Java start up with Orion: --illegal-access=deny --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED

I must note that Mixin is not working with Java 9 yet.

Clone this wiki locally