Surf 11 » Listing contents of a jar file with jar command

Finding the best waves on the web.

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 f flag.

Note you could also use this to list the contents of a zip file if you have java's jar command installed.



Related Entries
Name:

Email: (optional, not displayed on site)
   Subscribe to this thread
Comments: (html will be escaped)



Subscribe to our RSS Feed: subscribe to this feed XML
Archives   Tags   Contact