tags:

views:

326

answers:

3

I'm porting a few java gwt projects into eclipse and the projects depends on many external .jar files, some of the dependencies seem to be dynamically linked so eclipse isn't picking up the missing links while running the ide.

At run time, I often get exceptions that say for example 'import bar.foo.XML' is missing or some FooBar class definition is missing and it always takes me a while to figure out which .jar file these classes/libraries belong to so I can add them to the run path.

Is there a quick way to search which .jar files contain what classes and what other library they depend on?

A: 

You need a tool like Jar Analyzer

kgiannakakis
A: 

Can't you just mark all the jar-files in Eclipse and right-click->add to Build Path?

Thorbjørn Ravn Andersen
I personally hate having unnecessary .jars in my build path, it's always great if you know what you actually need
HerdplattenToni
+1  A: 
VonC