Listing contents of a jar file with jar command
Need to list the contents of a jar file? You need to specify the options
tf to the jar command, for example:
jar tf any.jar
If you use
jar --help it may mislead you to think you need to specify a dash, or that you don't need the
Note you could also use this to list the contents of a zip file if you have java's
jar command installed.
Like this? Follow me ↯Tweet Follow @pfreitag
Listing contents of a jar file with jar command was first published on March 08, 2006.