How can I get the jar tool to read command-line arguments from a file?

John Zukowski

If you are passing lots of command line arguments, like to change directories (-C), you can put all the commands into a file and precede the filename with an @ sign on the command line.

For instance, if the command were in the file commands.txt, you can call jar with:

jar @commands.txt