Chocohead / Rift

A lightweight mod loader and API for Minecraft 1.13
MIT License
62 stars 22 forks source link

Linux crash 1.13.2 #23

Closed Efimero closed 5 years ago

Efimero commented 5 years ago
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 net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

on linux (debian), the installer runs and sets up the profile fine, but running it fails, first due to an unrecognized JVM option in the default arguments, but when fixing that, the error above shows this only happens with the rift profile, the vanilla runs fine this is before adding any mods on a clean profile

Chocohead commented 5 years ago

You need to use Java 8 to launch the game, LaunchWrapper doesn't run with 9 and onwards (as you've found).