Java slick command line app?
Posted
by Felix
on Stack Overflow
See other posts from Stack Overflow
or by Felix
Published on 2010-05-20T10:29:47Z
Indexed on
2010/05/20
10:40 UTC
Read the original article
Hit count: 172
Hello Guys,
I want to make a slick java commandline app which doesnt include all the nasty "java -jar some.jar arguments"
instead, I would have it work just like
program -option argument
like any other commandline app. I use ubuntu linux, and it would be fine if it included a bit of .sh script or anything. I know I can just create a file with java -jar program.jar
and do chmod +x file
, afterwards I could run i with ./file, but then how can I pass the arguments to the program ?
© Stack Overflow or respective owner