garretreichenbach / New-StarMade-Launcher

7 stars 5 forks source link

Cannot run release branch #11

Closed garretreichenbach closed 7 months ago

garretreichenbach commented 7 months ago

The launcher can't run the Release Branch with Java 8:

WARNING: Unknown module: jdk.compiler specified to --add-exports
WARNING: Unknown module: jdk.compiler specified to --add-opens
Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
    at me.jakev.starloader.LaunchClassLoader.main(LaunchClassLoader.java:26)

Process finished with exit code 0

Not sure why, as by all accounts it should work fine with Java 8?