If U R using some IDE, then there shd be a place to add on Ur classpaths.
If not, from the prompt
For Windows > java -classpath "c:\JDBCdriver;c:\JDBCdriver\driver.jar;." file.java
For Unix    > java -classpath "/tmp/JDBCdriver:/tmp/JDBCdriver/driver.jar:." file.java

note: when including jar or zip U have to include the fileName.

Cheers!

Thiru
PS: U find extensiv dos on setting classpath. go to www.javasoft.com

On Fri, 16 Feb 2001 20:29:27 +0800
Chen Ka Pong <[EMAIL PROTECTED]> wrote:

-> I cannot use the jdbc connection which the driver is download
-> from mysql web site. The error message prompted that
-> "invalid JDBC Driver", what can cause this error?
-> I predict my classpath is wrong, but I would like to know
-> how to set the classpath?
-> (at this status, I am not sure if my classpath is correct or not)
-> 
-> Thanks!
-> 
-> Pong
-> 

-----------------------------o0o----------------------------------------
                  "There is no finish line, you can always learn" 
 "You have to keep pressure on yourself,  you have to work on your weaknesses". 

Thiru
S/W Engineer, Service Dvlpment Group
Infoseek,Japan                                  Voice - (81)-3-5453-2056
http://www.infoseek.co.jp <- Click Here
http://www.rakuten.co.jp <- Click Here
http://house.infoseek.co.jp  <- Click Here
http://profile.infoseek.co.jp  <- Click Here
http://chat.infoseek.co.jp  <- Click Here
--------------------------------------------------------------------

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to