Classpath w.r.t .jar is actually simple. A jar (
Java Archive) is simply a compressed collection of your class files and a few other things.
In order to access a class from a .jar, your classpath needs to explicitly name the .jar file containing the class files.
So if you need to access a class named A in a MyJar.jar, you need to specify the correct path including the .jar name in your classpath:
.../..../MyJar.jar
[ October 12, 2006: Message edited by: Aniket Patil ]