This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes doubt -very urgent help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "doubt -very urgent help needed" Watch "doubt -very urgent help needed" New topic

doubt -very urgent help needed

Ranch Hand

Joined: Nov 08, 2000
Posts: 52
i have been trying to writing a java program to acess the values of the tables that are stored in an another site(not on my pc ) in the form of mysql question is that do i require to have a mysql driver in my odbc driver(i.e home computer) to run this code sucessfully .i at present dont have the driver installed ,whenever i complied and run the code i am getting an error -
Class not foundException
Please answer my question
Thanks in advance
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

Do you have a typo in your Class.forName line?
If you cut and pasted the error, it looks like you have a colon instead of a period instead of
Also, did you download the mySQL driver from
Sorry, gotta cover the simple questions.
Chris Stewart
Ranch Hand

Joined: Sep 29, 2001
Posts: 124
Yeah, that's what it looks like to me. Make sure the driver (in jar format) is in your classpath as well.
It is sorta covered in the JavaRanch Style Guide.
subject: doubt -very urgent help needed
It's not a secret anymore!