1
Spigot error when I run .bat file
Ok So I had a fully functional server set up but deleted it for a while but when I redownloaded everything and set up everything up I get an error. So In the screenshot http://i.imgur.com/hXRpgfq.png you can see everything in my server folder and here's my code for run.bat I made
and here is the code of the CMD error
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx2G -Xms2G -jar spigot.jar
pause
and here is the code of the CMD error
C:\Users\[USERNAME]\Desktop\SpigotServer>"C:\Program Files (x86)\Java\jre7\bin\java.ex
e" -Xmx2G -Xms2G -jar spigot.jar
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
C:\Users\[USERNAME]\Desktop\SpigotServer>pause
Press any key to continue . . .
1
Instead of using the code you're using in your "Run.bat" file, try this:
java -Xmx1024M -jar spigot.jar -o true
PAUSE
