Open keturn opened 4 years ago
The launcher knows where the game is installed and what operating system it's running on.
It can add a -Djava.library.path= argument to java, set to the natives directory for this platform.
-Djava.library.path=
See https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/System.html#getProperties()
This will let the main Terasology process avoid trying to change paths at runtime, which is known to interact poorly with some security policies — especially in more recent versions of Java.
See https://github.com/MovingBlocks/Terasology/pull/3937
(pssst, merge #571 before messing any further with java parameters.)
The launcher knows where the game is installed and what operating system it's running on.
It can add a
-Djava.library.path=
argument to java, set to the natives directory for this platform.See https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/System.html#getProperties()
This will let the main Terasology process avoid trying to change paths at runtime, which is known to interact poorly with some security policies — especially in more recent versions of Java.
See https://github.com/MovingBlocks/Terasology/pull/3937