Click to See Complete Forum and Search --> : Can't get JDBC driver to work in Eclipse


Mester Pediz
03-04-2006, 06:28 AM
Uhmm.... HELP! :confused:
I'm trying to build a small project in eclipse where i need to save som stuff to my MySQL dB, but i can't get my db class to locate the driver...

I'we included the jar file to my project in Eclipse witch should (as far as i know but stop me if i'm wrong) do so i don't need to directly include it into the classpath.

But when i run my MySQL class and test for the driver i get a "ClassNotFoundException".
Now i'we tried about everything i could find with google, but even if i can sit and look at the same thing on my screen as what i'we found online, nuttin work's :(

Is there a brilliant Java/Eclipse guru out there who could give some directions on who the hell to get this to work?

I'm Running Eclipse 3.1 and the jar file i'we downloaded (from mysql.com) is "mysql-connector-java-3.0.17-ga-bin.jar"

Any help would be appeciated :)

Mester Pediz
03-04-2006, 06:47 AM
No need anyways :D i got to work, just remembered how i did it last time...
Thx anyways if anyone was writing somethin....