Java: How do I know which jar file to use given a class name?

If you have the jar in your class path / project path hit CTRL-SHIFT-T and type the name … the jar will be displayed at the bottom.

If you haven’t the class in your build path
a) put together a dummy project containing all the jars
b) I think there is a plugin to find jars from IBM Alphaworks (but that might be kind of outdated)

Leave a Comment