1 2 3
#!/usr/bin/env sh exec /usr/bin/java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -jar '/usr/share/java/myprogram/launcher.jar' "$@"