What you want is an Application Bundle. It include a properties file (Info.plist) where you can set things like Xmx
, etc.
You can also use Oracle's appbundler tool to create an application bundle.
Another no-brainer option is to create a shell script. Something like this:
#!/bin/bash
java -jar myJar.jar