Is is possible in eclipse find all the imports in the project for a certain JAR library? I.e. find out which classes of library are used and which not. Or is there any command line tool to achieve such a task.
Asked
Active
Viewed 354 times
0
-
I hope this question will help you out https://stackoverflow.com/questions/275120/java-how-do-i-know-which-jar-file-to-use-given-a-class-name – Chetan chadha Aug 02 '17 at 11:23
2 Answers
0
Not the best answer, but I search the main package used by the class
For example for commons-fileupload-1.2.2.jar I search in my Project org.apache.commons.fileupload

Ori Marko
- 56,308
- 23
- 131
- 233
-1
Click on class name in import statement and it will gets open in class editor.
then find the jar name below the 'Source not found' sentence and the open that jar using Jd-gui.

Prafull
- 63
- 1
- 11
-
I don't want to find the jar of an import, but find all the imports from jar – Tuomas Toivonen Aug 02 '17 at 11:09