Minecraft Server Startup help

Discussion in 'Gaming Discussion' started by Fluttershy's Assassin, Dec 7, 2014.

  1. Fluttershy's Assassin

    Fluttershy's Assassin

    Messages:
    2,520
    Likes Received:
    2,181
    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
    upload_2014-12-6_21-45-25.png

    So, any help? According to @~Wolf, this isnt normal, and it doesnt sound or look normal ._.
     
  2. Marina

    Marina

    Messages:
    177
    Likes Received:
    125
    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)'
     
  3. Fluttershy's Assassin

    Fluttershy's Assassin

    Messages:
    2,520
    Likes Received:
    2,181
    My Computer has 15.8 GB of Memory free

    And this is regular MC, not craft bukkit
     
  4. Marina

    Marina

    Messages:
    177
    Likes Received:
    125
    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.
     
  5. CrazyIcicle

    CrazyIcicle

    Messages:
    1,170
    Likes Received:
    606
    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
     
  6. Marina

    Marina

    Messages:
    177
    Likes Received:
    125
    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
     
  7. Fluttershy's Assassin

    Fluttershy's Assassin

    Messages:
    2,520
    Likes Received:
    2,181
    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
     
    Last edited: Dec 7, 2014
  8. CrazyIcicle

    CrazyIcicle

    Messages:
    1,170
    Likes Received:
    606
    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.
     
  9. Fluttershy's Assassin

    Fluttershy's Assassin

    Messages:
    2,520
    Likes Received:
    2,181
    It is spelled exact.

    I did everything right, to my knowledge. It isnt something simple.
     
  10. Alexisthebest

    Alexisthebest

    Messages:
    15
    Likes Received:
    2
    Minecraft:
    AlexsTooGreat
    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
     
  11. Marina

    Marina

    Messages:
    177
    Likes Received:
    125
    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 ;)