Jump to content

mrzinfandel

Members
  • Posts

    1
  • Joined

  • Last visited

mrzinfandel's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Testing a set of mods to be used on a server. Right now I am having a issue trying to use a .bat to allocate more on my machine to the server. Every time I open it, I get a .CMD only displaying this. A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:62) at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:31) Caused by: 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) ... 6 more I am tying this while using forge-1.10.2-12.18.3.2488-universal.jar with minecraft_server.1.10.2.jar in the folder as well. Not sure what to do since most threads I search up say to just make sure the Minecraft Server .jar is in the folder, which it is. This is what I have in my .bat maybe I have it composed wrong? @echo off "C:\Program Files\Java\jre-9\bin\java.exe" -Xmx6g -Xms6g -jar forge-1.10.2-12.18.3.2488-universal.jar nogui PAUSE pause
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.