Posts from August 2013
GUIDE: Directly Executable JAR File
Java is great, but having to type java -jar program.jar gets annoying. Why can't you run it like any other program, with ./program.jar? Well, you can, and it's incredibly simple!
echo '#!/usr/bin/java -jar' | cat - Program.jar>Program
chmod +x Program
Tada! That's it! Program.jar… »