MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/i4zpj/making_really_executable_jars/c20zno5/?context=3
r/java • u/gst • Jun 21 '11
12 comments sorted by
View all comments
0
Nowadays I use Groovy for my command line needs. It can even pull dependencies automatically from a Maven repository using the @Grab annotation.
No need to do a java -jar ./waffles.1.2.3.jar -foo=bar
A simple groovy Foo (or, if you shebang the script and make it executable it is even simpler, ./Foo.groovy).
0
u/[deleted] Jun 21 '11
Nowadays I use Groovy for my command line needs. It can even pull dependencies automatically from a Maven repository using the @Grab annotation.
No need to do a java -jar ./waffles.1.2.3.jar -foo=bar
A simple groovy Foo (or, if you shebang the script and make it executable it is even simpler, ./Foo.groovy).