Find a class under Jar file
807591Mar 17 2008 — edited Mar 21 2008Hi all,
If I want to find out a class resides under what jar file, under Linux, I use this command:
for i in $(find -name \*.jar) ; do if jar tf $i | grep �q className.class ; then echo $i ; fi ; done
Does anybody know how can I do this under Windows? If I need to know a class is under what jar file, is there anyway to do this except extracting each jar file and see what classes are under the jar file?
Is there any tool that can mount the jar file and expand it in a tree structure to see all of it's classes visually?
Any help is greatly appreciated.