posted 21 years ago
first, it may be more appropriate to post this to the JDBC forum. There are probably loads of JDBC boffins there. But anyway, assuming you're using Linux or UNIX, type the following:
echo ${CLASSPATH} | tr ':' '\n'
That should output what paths are currently in your classpath.
If your driver is in /home/josh/classes the full path for the driver class (using Rahul's driver example) would be:
/home/josh/classes/org/gjit/mm/mysql/Driver.class
(alternatively, your Driver may be in a '.jar' file in which case, you can specify the full path of the jar file as a part of the classpath).
The path /home/josh/classes would have to be one of the paths on your classpath.
There's no tool that I know of that will tell you where your JDBC drivers are. That part is for you to decide according to the system you are putting together. Put them wherever you consider it appropriate to put JDBC drivers.
I hope that helps.