IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

JAR Class Finder

A Rational Application Developer/Eclipse plug-in utility for finding Java Archive (JAR) files containing a given class for the Java build path of a project and for helping to fix NoClassDefFound exceptions.


Date Posted: August 4, 2003
Overview Requirements DownloadFAQsForum Reviews

1. Why can't I see the icon?
2. How do I search for a class name?
3. Where has my package button gone?
4. How do I search for a package?
5. How do I search for a properties file?
6. Can I search multiple locations at once?
7. With what versions of Eclipse and Rational Application Developer does JAR Class Finder work?
8. I clicked on Find, but the dialog box merely disappeared and reappeared.


1. Why can't I see the icon?

Check and see whether you've put the JAR file in the correct directory and restarted Rational® Application Developer, and, most importantly, see whether you started it with the -clean option. You needn't do this every time, only the first time after installing it.
Back to top Back to top

2. How do I search for a class name?

Enter the class name or a partial class name in the Class box (for example: Base64Dec). Click on Browse in order to browse to the location in the file system where you wish to search, or select a previously-searched location by pressing the down arrow at the end of the location box. Correctly set the Case-Sensitive and Match Whole Word options and click on Search. Note that the class name can contain a package name or partial package name; set the Match Whole Word option accordingly.
Back to top Back to top

3. Where has my package button gone?

The package button has been removed. It is no longer required because JAR Class Finder is now intelligent enough to determine whether you've entered a package or not.
Back to top Back to top

4. How do I search for a package?

Enter a package or a partial package name in the Class box. Ensure that there is at least one period or slash (/) in the class name, so that it is recognised as a package. Choose a location, etc., as above and click on Find. Note that the utility will search for classes that have the specified package name. For example, searching for com/ibm will return all classes in packages starting with com.ibm*. This type of search could result in too many results if you are not more specific.
Back to top Back to top

5. How do I search for a properties file?

If searching for a properties file, simply follow the same procedure as for a class file, but select the radio button for properties.
Back to top Back to top

6. Can I search multiple locations at once?

No, and there are no plans for implementing this feature. This utility is an unsupported technology preview.
Back to top Back to top

7. With what versions of Eclipse and Rational Application Developer does JAR Class Finder work?

This utility has been tested with Rational Application Developer 6 and 7. It should also work with products based on these technolgies, including WebSphere® Integration Developer and Rational Software Architect. It has been tested on Eclipse 3.2, 3.22, and 3.0.
Back to top Back to top

8. I clicked on Find, but the dialog box merely disappeared and reappeared.

In order to save time and reduce clicking, JAR Class Finder does not prompt you with error boxes. If you neglected to fill in the class box or the location box, or no results were found, then the Find dialog box is simply redisplayed. If enough people don't like this feature, it could be changed, but this way seems easier; we're all developers here after all.


Rational and WebSphere are trademarks of IBM Corporation in the United States, other countries, or both.
Other company, product, or service names may be trademarks or service marks of others.

Back to top Back to top
Download now Download now

Related technologies

For platform(s):
Multi-Platform

For topics:
analysis, Eclipse, Java technology, testing, utilities


Related resources

eclipse.org

WebSphere Studio Zone

developerWorks Java zone

Java tutorials

Open source projects

JARS.com

 

    About IBM Privacy Contact