sp614x / optifine

1.81k stars 416 forks source link

Ubuntu Java v10 Optifine won't launch #2044

Closed kylerchin closed 6 years ago

kylerchin commented 6 years ago

Got this error plz, save me:


[1122/144129:INFO:GameCallbacks.cpp(193)] launcher/launcher (main) info Process closed with exit code 0

[1122/144129:INFO:GameCallbacks.cpp(193)] launcher/launcher (main) info Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
    at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
SetantaLP commented 6 years ago

It's a problem with the launchwrapper that optifine uses. But there are workarounds for this issue as mentioned in #1739

ghost commented 6 years ago

This should fix it https://github.com/sp614x/optifine/issues/1818#issuecomment-427983171