hoidoei061994 Posted November 14, 2022 Posted November 14, 2022 Hello I tried to make a tekkit server on my computer I downloaded the file form https://www.technicpack.net/modpack/tekkit-2.1935271 but now when I open launch.bat it just says this: [Tekkit 2] Server is starting... A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:110) at java.base/java.lang.reflect.Method.invoke(Method.java:578) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) Caused by: 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) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ... 3 more Press any key to continue . . . I have tried to download a new jdk (version 8 ) I have looked on youtube but I can't find no tutorials I really have no clue how to solve this...
nscnkyhn Posted April 2, 2023 Posted April 2, 2023 Hi, I have the same problem right now. Did you managed to solve this issue?
JaariAtmc Posted April 3, 2023 Posted April 3, 2023 6 hours ago, nscnkyhn said: Hi, I have the same problem right now. Did you managed to solve this issue? Use Java 8 for this version of minecraft.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now