Mac server help

Discussion in 'Bukkit Help' started by Eugene5348, Jul 1, 2015.

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

    Eugene5348

    I keep getting this error saying that it cannot execute binary file
    Here's the error:


    Last login: Wed Jul 1 12:18:20 on ttys000

    /Users/-----------/Desktop/Craft\ Bukkit/start_server.command ; exit;

    --------iMac-2:~ [username$] /Users/---------/Desktop/Craft\ Bukkit/start_server.command ; exit;

    -bash: /Users/-----------/Desktop/Craft Bukkit/start_server.command: cannot execute binary file

    logout


    [Process completed]


    Can anyone help??? It is appreciated
     
  2. Offline

    oceantheskatr

    Can you post the contents of the file start_server.command here please?
     
  3. Offline

    Eugene5348

    #!/bin/bash

    cd "$( dirname "$0" )"

    java -Xmx1024M -jar craftbukkit.jar -o true
     
  4. Offline

    oceantheskatr

    Have you done step three's step three? http://wiki.bukkit.org/Setting_up_a_server#Mac_OS_X

    1. Open up Terminal.app
    2. Type into Terminal.app
    3. chmod a+x
    4. [​IMG] Warning: Do not hit return
    5. drag the start_server.command into Terminal.app
    6. hit return

    I feel like this might be something you didn't do. If you did, do it again to be sure. If you're still getting an issue, let me know.
     
  5. Offline

    Eugene5348

    Yeah

    I did step three

    It doesn't help

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jul 13, 2015
  6. Offline

    Eugene5348

    I still need help
     
  7. Offline

    Asc_Nicholas

    @Eugene5348

    Hmm, your start.command file contents look a bit off to me. Try using the below and then follow ocean's steps. That should work just fine.

    Code:
    #!/bin/bash
    cd "$(dirname "$0")"
    exec java -Xms1G -Xmx1G -jar craftbukkit.jar nogui
     
  8. Offline

    Eugene5348

    It still dosent work
    Could it be my computer?
     
Thread Status:
Not open for further replies.

Share This Page