What is the best option for packaging and distributing a command line application written in Java to install OS / X and Unix?
The executable jar parameter seems pretty reliable, and my distribution does not have to be very interesting, so right now I'm just thinking about attaching a bash script to the corresponding Java call and with it.
I am wondering if there is something similar to the python bdist package that would allow me to easily make good installers for both target platforms. Or if there is an even more obvious way that I am missing, where I can turn the entire distribution into an executable file that somehow wraps the jar.
source
share