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


  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


  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


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


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


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

Share This Page