Star Ruler 2

Star Ruler 2

Rising Stars
Indigo Skies 22 Aug, 2021 @ 9:43pm
Mod Manger not compatible with newer Java versions
JavaFX isn't included in latest versions of Java and it no longer has an installable runtime, but it's required to use the Mod Manager. This means that the mod manager will only work with Java versions 9 and earlier. Trying it on anything new just gives the error:

Error: Could not find or load main class com.dalolorn.sr2modmanager.view.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

I think you have to compile the JavaFX SDK into the distributed .jar in some way.
< >
Showing 1-3 of 3 comments
Dalo Lorn  [developer] 23 Aug, 2021 @ 7:15am 
Yeaaah, known issue. I used to say that Java 8 was the preferred JRE version for running SR2MM; I solved the problem in development a few months ago, but then I moved on to the task of overhauling the whole thing for OpenSR. Sorry.

I'm going to have to create a new release for the Java 11 version. It'll take a bit, but I can probably pull it off sometime today...
Dalo Lorn  [developer] 23 Aug, 2021 @ 7:43am 
Here we go! This should work out. Probably. Everyone who's used it so far built it from source, so our tests may not be indicative of real-world performance. :/

https://github.com/DaloLorn/SR2ModManager/releases/tag/1.2.0
Indigo Skies 11 Sep, 2021 @ 5:27pm 
It works fine on my machine, thanks!
< >
Showing 1-3 of 3 comments
Per page: 1530 50