Aug 19 2009

What jar file does a Java class belong to?

Published by at 10:18 am under Java

I found this very useful web site that allows you to search what JAR file a specific Java class belongs to. This has proven quite useful to me over the last couple of days when I had to deal with NoClassDefFoundError and ClassNotFoundException problems.

You can just enter the name of the class or JAR file your looking for and the site will display the result.

http://www.findjar.com/index.jsp

One response so far

One Response to “What jar file does a Java class belong to?”

  1. Ed says:

    If you’re developing with maven and need to find classes (currently 8 million of them) in the central repository, the maven repository search engine at http://www.jarvana.com can be very useful, since it provides the dependency information for the class/artifact that you’re looking for.

Leave a Reply