Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 4 years ago.
I'm looking for a tool that will show me a graph of JAR dependencies in my Java project based on static analysis of the compiled byte code. Specifically, I'm trying to figure out if there are unused JARs that I can eliminate, but I'd also just like to get a better understanding of the dependencies that exist. I'm not using Maven.
Dependency Finder comes close, but it deals in packages rather than JARs and there doesn't seem to be any way to query it for JARs that have no dependents. Any recommendations? Free and open source preferred. Thanks!
See also JarAnalyzer which claims to:
... traverse through a directory, parse
each of the jar files in that
directory, and identify the
dependencies between the jar files.
JBoss Tattletale does exactly what I need.
You can try this tool that displays the public resources of a library and calculates a ratio of usage between two Jars: http://trimatek.org/deep
Take a look on JDepend.
JDepend traverses Java class file directories and generates design
quality metrics for each Java package. JDepend allows you to
automatically measure the quality of a design in terms of its
extensibility, reusability, and maintainability to manage package
dependencies effectively.
Or Maven. Elcipse plugin shows it very nicely. Even shows dependencies on the dependencies.
You can use JArchitect is a static analysis tool to improve java code quality and it's free for opensource contributors and universities