Problem Yogcraft Server Memory

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Flapper501

New Member
Jul 29, 2019
1
0
0
Hello,

I've been working on my Yogcraft world, trying to make it a server. I can launch the ftbserver.jar with no problem, but when i try to launch it with more RAM, it shows up with this


unknown0023120f1f9c:~ aaronguerra$ cd ~/Desktop
unknown0023120f1f9c: Desktop aaronguerra$ cd YogCraft_Server
unknown0023120f1f9c:YogCraft_Server aaronguerra$ java -Xmx1024M -Xms1024M jar- ftbserver.jar
Exception in thread "main" java.lang.NoClassDefFoundError: jar-
Caused by: java.lang.ClassNotFoundException: jar-
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
unknown0023120f1f9c:YogCraft_Server aaronguerra$
 

Dingham

New Member
Jul 29, 2019
294
0
0
You have the dash in the wrong place, should be like this

Code:
java -Xmx1024M -Xms1024M -jar ftbserver.jar