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

  • Older News
  • How to run Maincraft above version 1.7 StackOverFlow (2 days ago) - Now use this methodjava -Xmx1024M -Djava.library.path=C:\Users\roman\AppData\Roaming/.minecraft/versions/1.10.1/natives -cp C:\Users\roman\AppData\Roaming.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\minecraft\launchwrapper\1.5\launchwrapper-1.5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\optifine\OptiFine\1.5.2_HD_U_D5\OptiFine-1.5.2_HD_U_D5.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\roman\AppData\Roaming.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\roman\AppData\Roaming/.minecraft/versions/1.10.1/1.10.1.jar net.minecraft.client.main.Main --username user --version 1.10.1 --gameDir C:\Users\roman\AppData\Roaming/.minecraft --assetsDir C:\Users\roman\AppData\Roaming/.minecraft/assets --assetsIndex 1.10 --uuid 00000000-0000-0000-0000-000000000000 --accessToken 00000000-0000-0000-0000-000000000000 --userProperties {"twitch_access_token":["00000000-0000-0000-0000-000000000000"]} --userType mojang --height 480 --width...