Surf 11 » Howto List Contents of a Jar File

Finding the best waves on the web.

Ever wanted a list of files inside a jar file. It's pretty simple to do using the jar command:

jar -tf somefile.jar

You could also use this technique to list the contents of a zip file, since jar files are actually zip files.

Related Entries

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

Archives   Tags   Contact