How to make a shell script run in Mac when double clicking it? How to make a shell script run in Mac when double clicking it? shell shell

How to make a shell script run in Mac when double clicking it?


If you run from a terminal, you have a working directory set, and this may not be the case if you double-click it. Try giving the full path to the jarfile in your script.