File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "doubt -very urgent help needed" Watch "doubt -very urgent help needed" New topic
Author

doubt -very urgent help needed

lp
Ranch Hand

Joined: Nov 08, 2000
Posts: 52
hi
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 tables.my 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 rg:gjt.mm.mysql.Driver
Please answer my question
Thanks in advance
Lakshmi
David O'Meara
Rancher

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 org.gjt.mm.mysql.Driver instead of org:gjt.mm.mysql.Driver
Also, did you download the mySQL driver from gjt.org?
Sorry, gotta cover the simple questions.
Dave.
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.
 
Consider Paul's rocket mass heater.
 
subject: doubt -very urgent help needed