Home > Java > Find a class in a jar

Find a class in a jar

Two of the most useful tools I have ever used are the jarminator and the jar browser. These tools are simple; you give them a location, they load up all the jar files and then you search for a given class. If the class exists in any of the loaded jar files they will tell you which one it is in. Extremelly useful when you are working with new APIs.

My personal favourite is Jarminator, since it’s easier to use. You just have to input the class name and it looks in all jar files (whether with jar browser you have to input the class name plus the .class extension). Jar browser is also not bad at all but the project seems abandoned (it has not been updated since 2004).

Categories: Java
  1. bx
    23 May 2008 at 8:06 am

    apart from these tools: a web based jar search engine based on the 16gb ibiblio maven repository can be found at http://www.findjar.com

  2. 23 May 2008 at 8:11 am

    Thank you bx, I wasn’t aware of this site.

  3. Ed
    13 November 2009 at 4:17 am

    You might also be interested in the maven repository search engine at http://www.jarvana.com which searches for classes and projects among 100GB of jar files.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: