Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Class not found: org.gjt.mm.mysql.Driver how do i fix this?

843859Mar 20 2009 — edited Mar 20 2009
I have written an application that uses a mysql database.
When running the app in Eclipse everything works fine, however when I export it to a standalone Jar, the
application fails on Class not found Error: org.gjt.mm.mysql.Driver.

I have the path to the directory the driver resides in my classpath, aswell as the full path of the mysql-connector-java-3.0.17-ga-bin.jar file too.
I also have the mysql-connector-java-3.0.17-ga-bin.jar file in my java_home/lib/ext folder,

I've tried everything and it just wont find the driver.

Please help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2009
Added on Mar 20 2009
4 comments
551 views