Starting Java applications
I've downloaded some applications written in Java, and I want to make Slackware packages for them. But I want to be able to run a program by just supplying a name on the commandline.
For example:
$jpiccola
instead of having to do:
$java -jar JPiccola.jar
or
$java bla/bla/bla/ClassWithMain
What would be the easiest way to accomplish this? I was thinking of putting a script with aliases in /etc/profile.d for every application.
|