Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / April 2007

Tip: Looking for answers? Try searching our database.

problem with Connection from GUI

Thread view: 
Pappu - 10 Apr 2007 10:02 GMT
Hi,

I have problem with JDBC.

I am using netBeans 5.5 along with MySQL 5.0 And connector/J Driver
for the same.
I have installed it properly.The program doesn't work.
But when I run the program I get 'com.mysql.jdbc.Driver'
ClassNotFoundException .What shoud I do to get it corrected?

Can anybody hep me?
Ian Wilson - 10 Apr 2007 10:52 GMT
> Hi,
>
[quoted text clipped - 7 lines]
>
> Can anybody hep me?

You need to tell Java where the MySQL driver is located. I'm not
familiar with MySQL but I imagine the drivers are provided as a .jar file.

Reading this might help http://mindprod.com/jgloss/classpath.html.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.