I made a .bat file and it isn't working. I've been using multiple websites to look for the solution, and have had no luck.
Here is what resulted of the .bat file:
C:\Users\shado\Desktop\Horizon Reborn Server 3>java -Xmx3G -Xms2G -jar mod_server.jar -o true nogui
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
C:\Users\shado\Desktop\Horizon Reborn Server 3>PAUSE
Press any key to continue . . .
Please help me, anything could help.
By the way, yes my files are named the same. I have attached some screenshots that might help anybody diagnose my problem.
I made a .bat file and it isn't working. I've been using multiple websites to look for the solution, and have had no luck.
Here is what resulted of the .bat file:
C:\Users\shado\Desktop\Horizon Reborn Server 3>java -Xmx3G -Xms2G -jar mod_server.jar -o true nogui
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
C:\Users\shado\Desktop\Horizon Reborn Server 3>PAUSE
Press any key to continue . . .
Please help me, anything could help.
By the way, yes my files are named the same. I have attached some screenshots that might help anybody diagnose my problem.
What's the mod_server.jar from?
lol, looks like just a simple mistake.
In your run .bat you currently have "java -Xmx3G -Xms2G -jar mod_server.jar"
Switch the 3G with the 2G to get:
java -Xmx2G -Xms3G -jar mod_server.jar
The first number is the minimum amount and the second is the maximum amount of memory allocation to the server.
Browsing for texture packs? Why not try some of mine?
http://purplepigjr.wix.com/minecraft-packs#!resource-packs/csrnf
Actually, that's backwards. Xmx is maximum heap size, Xms is initial heap size. Those arguments are trying to set a heap size larger than the maximum.
what do you mean? Like where did i get it from?
Yea. What is that, is it Forge that's been renamed or something else?
Looks like you need the log4j API.