Ok, so, recently, I have been trying to make my own server on my desktop. Everything is set up, except for one thing: The Alocated RAM. More Specifically, the batch file to start it up. As an Error when I run as an Admin it, it says this: Code: Error: Unable to access jarfile minecraft_server.1.8.1.jar An Error when I run it without Admin Code: Error occured during initialization of VM Could not reserve enough space for 097152 object heap The code I am using in the server-startup.bat file Code: @echo off title "start-server.bat" java -Xms1G -Xmx2G -jar minecraft_server.1.8.1.jar -nogui pause Spoiler: My Memory Space So, any help? According to @~Wolf, this isnt normal, and it doesnt sound or look normal ._.
Try this... java -Xms2048M -Xmx2048M -jar craftbukkit-1.7.9-R0.2.jar -o true Double-check your OS is reporting the correct amount of memory. (If on Windows) Control Panel > System, see 'Installed Memory (RAM)'
Ooops didn't see that C: But Overall I would check the current version anyway, says its using a deprecating function which can indicate an old (Java) package. Java version verify can check your version and look for out-of-date versions installed.
Error: Unable to access jarfile minecraft_server.1.8.1.jar You don't have the minecraft server jar. Download it here: https://minecraft.net/download
Also You are attempting to allocate more RAM than your system will allow you to allocate. In your startup script, lower the values of your Xmx/Xms arguments Run the JVM with -XX:MaxHeapSize=256m (or any big number), and possibly -Xmx512m
I literally redownloaded Java today xD I do have it . . . ._. My system has 16 GB RAM, I was only allocating 6 GB There's no way that could've happened, to my knowledge. I'll try it anyways EDIT: It had no affect
Is the server jar spelled wrong? It needs to have the exact spelling for the server to start up. Otherwise, the server will not boot: EDIT: If not, I'm not sure exactly what you can do about it. It's not a RAM problem, otherwise it should display a different error.
I think your using vanilla. Use CraftBukkit or spigot (same thing) and it will work i tried it and it worked You have to download a cracked version of bukkit or spigot because they got taken down. I also think that's the code for mac computers. if your on a mac (like me) use bukkit or spigot! Hope this helped
Oh My Gosh, Craftbukkit and spigot have not made a stable version yet so Im waiting but there is one called a rainbow server.jar.... So stable =D PS: Craftbukkit is so last season i meant like lastlast. And sorry if im exagerrating and my temporary fashionista way, just learn it from my trip to japan ;)