Tuesday, April 11, 2006

Find the jar for a class in Eclipse based IDEs

There is a trick in Eclipse IDEs that you can use to find the jar for a class:

Right click a source folder and select New...Class

On the superclass field, click the browse button

Blank out the java.lang.Object, and type in the unqualified (no package) name of the class that you need the jar for

In the qualifier box below will be shown the package name for the class, and next to that is the name and the location of the jar for that class

No comments:

Post a Comment