Enrico Stahn

17 Aug, 2005

Borland JBuilder and MySQL

Posted by: Enrico Stahn In: Uncategorized

I’ve tried to evaluate the database binding with “MySQL“ under Borlands JBuilder. I always got the following errors:

”The driver: org.gjt.mm.mysql.Driver could not be loaded. This could be a problem with the driver itself or that the driver is not found on the classpath.”

or

”The driver: com.mysql.jdbc.Driver could not be loaded. This could be a problem with the driver itself or that the driver is not found on the classpath.”

I add the “MySQL“ Connector/J to the libaries respectively to the class path ({{Tools > Configure > Libaries}}), but the problem wasn’t solved. The {{“DataExpress“ > Database}} component fails again and gave me the error mesage that you see ahead. Hours and much of coffee later …

The Solution is to copy the “MySQL“ Connector/J jar-file ({{mysql-connector-java-…-bin.jar}}) into the libary folder ({{C:\Programme\Borland\JBuilder2005\lib}}) of Borland JBuilder. After you’ve copied the file, you must restart Borland JBuilder.

1 Response to "Borland JBuilder and MySQL"

1 | Anonymous

September 22nd, 2005 at 6:11 am

Avatar

I can run my java code in the IDE
but the standalone jar cant load the mysql-con…

it IS in the classpath,
this kind of eror message makes me hate jave

Comment Form

Recommended Reading

No Google Reader feed was found with the provided ID. Please validate the ID in plug-in configuration.

Twitter

Posting tweet...

Powered by Twitter Tools

About

I'm a passionate Software Developer who loves juggling around with new technologies. This website is about my technical daily grind, problems i stumbled over and some private stuff.