Get spigot.jar using BuildTools or from here.
Paste the following text into a text document. Save it as start.bat in the same directory as spigot.jar: You will need to rename your jar to spigot.jar, or modify the file in the bat file to point to the correct file. nb: Windows (by default) will hide the .jar extension of the file.
@echo off
java -Xmx1G -jar spigot.jar
pause
Double click the batch file.
Get spigot.jar using BuildTools or from here.
Create a new startup script (start.sh) in the directory to launch the the JAR: #!/bin/sh
java -Xmx1G -jar spigot.jar
Open your terminal and execute the following in the directory: chmod +x start.sh
Run your start up script:
./start.sh
Get spigot.jar using BuildTools or from here.
Create a new startup script (start.command) to launch the JAR: #!/bin/sh
cd "$( dirname "$0" )"
java -Xmx1G -jar spigot.jar
Open Terminal and type into it: (Don't hit enter!)
chmod a+x
Drag your startup script file into the Terminal window. (Be sure to put a space between chmod a+x and your startup script!)
Double click your startup script.