Re: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Posted by: sathish kumar
Date: February 07, 2008 12:29PM

D:\java_program>env

D:\java_program>set java_home=C:\Program Files\Java\jdk1.6.0_03\bin

D:\java_program>set path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Sun\SDK\bin;C:\Program Files\Jav
a\jdk1.6.0_03\bin;;C:\Program Files\Java\jdk1.6.0_03\bin;

D:\java_program>set classpath=;C:\Program Files\Java\jdk1.6.0_03\bin;;C:\Program
Files\Java\jdk1.6.0_03\bin;D:\lib\mysql-connector-java-5.0.4-bin;


The problem is resolved,it's problem with classpath and the mysql driver

Options: ReplyQuote


Subject
Written By
Posted
Re: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
February 07, 2008 12:29PM
April 07, 2007 11:27PM
December 26, 2007 11:43AM
February 05, 2008 01:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.