Wednesday, April 30, 2008

Finding a Jar for Class

Classpath issues are one of the most common issues while developing application using many open source libraries. Finding the right jar file and adding it to classpath could turn out to be nightmare if you don't use the right tools. Many developers end up adding all the jars they know to the CLASSPATH, in order to solve the problem. This is obviously not the right approach, but people still use it because they don't know an easy way to find the Jar file containing the class file.

You can use JarFinder or DocJar to search for the Jar files containing a particular class online. You can also JarScan to find the class in locally available Jar files.

No comments: