Loliphile
Newbie
- Apr 26, 2017
- 75
- 252
- 121
Or you could just Use Java 8 or my modified build that's built for Java 21 and has a native linux.jar as wellManaged to run this on linux. Using wine or proton was a bust (proton almost worked though, it just didn't render the text) so using native java was the remaining approach.
The game was made on JDK 8 (jdk1.8.0_172).
You need a java setup that supports both JavaFX and Nashorn.
JavaFX is available as openjfx, nashorn is only available in jdk/jre 14 and older, so the game cannot be run on the latest jdk versions. Jdk8 and Jdk11 are the most accessible versions the game could be run on though jdk14 is the highest possible one.
The simplest solution for me ended up beingYou must be registered to see the links. There are also comparable liberica builds.
I then executed the game by using the java binary that came with that build to run the game, e.g.
But an alternative way to do it would have been to install jdk 11 (or 14), and then installing openjfx separately, then running with this command:Code:/usr/lib/jvm/zulu11-fx-bin/bin/java -jar LilithsThrone_0_4_10_7.jar
In my exact case it would've been this commandCode:/path/to/jdk11/bin/java --module-path /path to javafx/lib --add-modules javafx.controls,javafx.fxml -jar LilithsThrone_0_4_10_7.jar
So as you can see the zulu build made things quite simpler.Code:/usr/lib/jvm/java-11-openjdk/bin/java --module-path /usr/lib/jvm/java-11-openjfx/lib --add-modules javafx.controls,javafx.fxml -jar LilithsThrone_0_4_10_7.jar
It's not perfect though because it'll still throwYou must be registered to see the links.
But it's completely playable, even if it's not entirely smooth. It plays considerably better on X than Wayland for me.
I have used the official build on linux mint perfectly fine with no issues using Oracle JRE 8 (which was also installed for hosting a minecraft server for 1.7.10, albeit GTNH now has a Java 21 compatible version so that makes me happy)