Minecraft server error on startup technic launcher

Trying to make a Tekkit Lite server for minecraft and Im having some coding issues .

When I make the server and run the bat file:

java -Xmx3G -Xms2G -jar TekkitLite.jar nogui

pause

then i get the error:

Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoader$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader

at cpw.mods.fml.relauncher.FMLRelauncher.(FMLRelauncher.java:48)

at cpw.mods.fml.relauncher.FMLRelauncher.instance(FMLRelauncher.java:40)

at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33

at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1376)

Ive installed latest JRE 8 and JDK 8 for minecraft java edition, but still to no avail....

Read More »

By: StackOverFlow - Sunday, 15 April

Related Posts