Find a class somewhere inside dozens of JAR files?
Unix On Linux, other Unix variants, Git Bash on Windows, or Cygwin, use the jar (or unzip -v), grep, and find commands. The following lists all class files that match a given name: for i in *.jar; do jar -tvf “$i” | grep -Hsi ClassName && echo “$i”; done If you know the entire list … Read more