I want to make a smooth java command line application that does not include all the nasty "java -jar some.jar arguments"
instead, I would work like
program -option argument
like any other command line application. I am using ubuntu linux and it would be nice if it included a little .sh script or something else. I know that I can just create a file with java -jar program.jarand do chmod +x file, after which I could start I with. / file, but then how can I pass arguments to the program?
Felix source
share