Re: How to find a .class file in a bunch of JARs?



On Wed, 6 Aug 2008 13:13:00 -0700 (PDT), laredotornado
<laredotornado@xxxxxxxxxxx> wrote, quoted or indirectly quoted someone
who said :

I'm on Solaris 9. Does anyone know of a way to search through JAR
files (all of which are in the same directory) to find a class
"my.class" without having to unzip each file?

See sample code at http://mindprod.com/jgloss/zip.html

You don't have to read all the elements, just the directory.

Cannibalise the source for Jarlook which list the directory of a jar.

see http://mindprod.com/jgloss/products1.html#JARLOOK
--

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages