Hey guys,
im trying to install a minecraft server mod, and the last step is to sun this command:
#!/bin/bash
cd "$( dirname "$0" )"
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
---but it keeps giving me this:
Last login: Sat Apr 21 19:47:31 on ttys000
/Users/wsb/Desktop/server/Run.command ; exit;
henrys-macbook:~ wsb$ /Users/wsb/Desktop/server/Run.command ; exit;
-bash: /Users/wsb/Desktop/server/Run.command: /bin/bash^M: bad interpreter: No such file or directory
logout
[Process completed]
im not too experienced with shell commands
can i get some help please?
im trying to install a minecraft server mod, and the last step is to sun this command:
#!/bin/bash
cd "$( dirname "$0" )"
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
---but it keeps giving me this:
Last login: Sat Apr 21 19:47:31 on ttys000
/Users/wsb/Desktop/server/Run.command ; exit;
henrys-macbook:~ wsb$ /Users/wsb/Desktop/server/Run.command ; exit;
-bash: /Users/wsb/Desktop/server/Run.command: /bin/bash^M: bad interpreter: No such file or directory
logout
[Process completed]
im not too experienced with shell commands
can i get some help please?