Is there a command line tool that will crack open a JAR file and locate a particular .class file in it? Something that would let me walk a directory tree in search of which Jar(s) have a particular class like…
find . -name *jar -exec jaregrep -l "org.bob.PriceListViewUpdate" {} \;
REST/prices.jar
v2/REST/prices.jar
Something like this must exist. Where do I get it?
If you know what directory the jar is you can use
grepin linux. Run this command from a directory above the suspect jar files. It will tell you which jar file (or files) has it. I do this all the time when I’m looking for something in the mess of jars JBoss uses.