Jump to content

atb10h

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by atb10h

  1. Hi there. I have been trying to make a minecraft server for me and my friends, but the server doesn't have enough RAM. So I gave it more using this in text edit, #!/bin/bash cd "$(dirname "$0")" exec java -Xms4G -Xmx4G -jar forge-1.12.2-14.23.5.2854.jar Then ran a command in terminal to let me open the file. It lets me open it, but when I do it opens up terminal and shows this, Last login: Wed Jul 8 16:54:15 on ttys000 AdensMac ~ Aden$ /Users/Aden/Desktop/Minecraft\ Servers/1.12.2\ Modded\ Server/launch.command ; exit; 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(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) 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 logout Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed] I am a macos user, and I have little experience with servers and stuff like this, so I would really like some help. Thanks in advance
×
×
  • Create New...

Important Information

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