Skip to content

provide natives directory to java when launching process #579

@keturn

Description

@keturn

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 MovingBlocks/Terasology#3937

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: ActionableAn issue or task that can immediately be worked onType: EnhancementNew features or noticable improvements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions