On Thursday, 27 Oct 2005 12:14 am, Rohit Kumar wrote:
> [EMAIL PROTECTED] Java]$ set | grep CLASSPATH
> CLASSPATH=/home/rohitsz/software/mysql-connector-java-3.1.11/:.

Directories in CLASSPATH are searched just for .class files. If you want to 
search for .class files within a jar file, you have to add the jar file to 
the CLASSPATH, and not just the path to the directory containing the jar 
file.

In other words, you CLASSPATH should be something like:
CLASSPATH=/home/rohitsz/software/mysql-connector-java-3.1.11/mysql-jdbc.jar:.

- Sandip

-- 
Sandip Bhattacharya  *    Puroga Technologies   *     [EMAIL PROTECTED]
Work: http://www.puroga.com  *   Home/Blog: http://www.sandipb.net/blog

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3

_______________________________________________
Java mailing list
[email protected]
http://mail.jug-delhi.org/mailman/listinfo/java_jug-delhi.org

Reply via email to