Problem/Bug When I click on my start.bat to start my localhost server [ERROR] Unable to access server.jar

Discussion in 'General Help' started by PumpMelon, Aug 10, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    PumpMelon

  2. Offline

    timtower Administrator Administrator Moderator

    @PumpMelon That is probably because it isn't called server.jar
    Rename the last file to server.jar and you will be fine.
     
  3. Offline

    PumpMelon

  4. @PumpMelon
    VM stands for Virtual Machine.

    As for the issue, you put in too large of a value in the Xmx variable. Try putting it to 512M at most.
     
  5. Offline

    PumpMelon

    Thanks for the help -
    So I set the Xmx to 512M and its saying the same thing...?
    [​IMG]
    https://gyazo.com/352c11a5f8dd5a47bf0f3431409defb7
     
  6. @PumpMelon
    Hmm, what if you don't specify xmx and xms at all? So your command would be something like this:
    Code:text
    1. java -jar server.jar
     
    PumpMelon likes this.
  7. Offline

    PumpMelon

    Thanks! Pretty sure that this worked (Auth servers are down for me)
     
  8. Offline

    LittleK

    Try this command:
    java -Xms1024M -Xmx2048M -jar "%BINDIR%\server.jar"
     
Thread Status:
Not open for further replies.

Share This Page