/ Published in: Bash
Useful when you have to deal with ClassNotFoundException. The command looks for all jar in the current directory and any sub-directory, and checks if the jar contains the specified class. The command lists all matching jars.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find -name "*.jar" -exec grep "CLASSNAME" {} \; find -name "*.jar" -exec grep "org/junit/runners/Parameterized.class" {} \;