8

What is the best way to browse the contents of a jar file on the Mac platform?

I usually use unzip foo.jar -d foo, but this is too slow with uber-jars.

6
  • 2
    Shouldn't this be asked on superuser? Anyway I'd suggest trying a TCMD/MC clone that can quick look into the zip.
    – zeller
    Sep 13, 2012 at 21:23
  • 3
    no unzip -l on mac?
    – guido
    Sep 13, 2012 at 21:27
  • 1
    What's an "uber-jar"?
    – a_horse_with_no_name
    Sep 13, 2012 at 21:41
  • 1
    As stated in this answer, jar tf foo.jar will list the contents of the jar. It's not browsing, though.
    – arturo
    Sep 13, 2012 at 21:52
  • 1
    @a_horse_with_no_name typically one big jar that contains your own classes plus the contents of all the jars that they depend on (transitively).
    – Ian Roberts
    Sep 13, 2012 at 23:06

2 Answers 2

3

The Better Zip Quicklook Generator allows you to have a quick peek into jar archives. I like that for quick browsing in the finder. Currently it is free.

0

I think you could install a IDE like eclipse or netbeans on ur Mac platform. These IDE tools will help you access the content of jar files easily.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .