May 13

I need to find if there are some duplicate class in the a list of jar files.  Here is what I did:

Go to the directory contains the jar files, can run this command:

find . -name “*.jar” -exec jar -tvf {} \; > list.out 2>&1

Then run:

cat list.out | grep Somepattern

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.