petrepe Posted February 21, 2022 Posted February 21, 2022 Hi everyone... i have problem with launch any server through the launcher. I got everytime error: 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) Process ended with code: 1 Do you guys know how to help me? Quote
Founder brunyman Posted February 21, 2022 Founder Posted February 21, 2022 Is this on our launcher? On what modpack and what java version do you have installed? Quote
petrepe Posted February 21, 2022 Author Posted February 21, 2022 Ofcourse its your launcher. The java version is 17.0.1 and ive tried few modpacks and the problem was the same Quote
Founder brunyman Posted February 21, 2022 Founder Posted February 21, 2022 Keep in mind that you will need to use the right java version for each minecraft version, like java 17 for MC 1.16 and java 8 for MC 1.12 You can right click on each modpack and configure the settings, I will post a screenshot shot below: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.