Jump to content

ticklesit

Members
  • Posts

    2
  • Joined

  • Last visited

ticklesit's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Also my java version here: C:\Users\Zeno Blurr>java -version openjdk version "11.0.5" 2019-10-15 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.5+10, mixed mode)
  2. When i launch the jar file normally i get what i'm supposed to see but obviously 2g of ram cant handle the mod pack so I tried to allocate more but I get a problem only when trying to do so through a batch file: C:\Users\Zeno Blurr\AppData\Roaming\.minecraft>java -Xmx3000M -Xms1000M -jar forge-1.12.2-14.23.5.2854.jar nogui 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: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) ... 6 more C:\Users\Zeno Blurr\AppData\Roaming\.minecraft>pause Press any key to continue . . . side note: yea i do notice how i put 4000M instead of 4G i tried both neither worked
×
×
  • Create New...

Important Information

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