Search code examples
javajarlibrariesloaded

How can I determine which libraries are loaded/needed?


I developing webservice application with IntelliJ IDEA, using Apache CXF, Spring, Hibernate and some more. All these framework are ship with a lot of libraries, but I do not use all of them.

At the moment I waste a lot of time to determine which jar files I have to deploy into the production enviroment to ensure a properly working system.

Is there an easy and fast way to determine which libraries, more precise which jar files are loaded/needed by my application.


Solution

  • Use Maven. It's the most popular dependency management tool in the Java world.