I have recently started running a minecraft server which requires me to type:
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui.
into terminal and execute to boot the sever. The command has to be run from the directory which contains the sever files, which seems to be my default terminal location when I open terminal.
My question, is there an easy way to write a script, so I can double click an icon on my desktop and the sever will start?
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui.
into terminal and execute to boot the sever. The command has to be run from the directory which contains the sever files, which seems to be my default terminal location when I open terminal.
My question, is there an easy way to write a script, so I can double click an icon on my desktop and the sever will start?