0

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.

Tuomas Toivonen
  • 21,690
  • 47
  • 129
  • 225
  • 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 Answers2

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