File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes jdbc driver not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc driver not found" Watch "jdbc driver not found" New topic

jdbc driver not found

tyler jones
Ranch Hand

Joined: Dec 01, 2000
Posts: 101
This is the error message I get when my class tries to update a table in my sql server 7 database.
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
I'm running a simple update query inside of an applet (or at least trying to). I know it's not what you'd really want to do, but it's the only solution I've been able to figure out. I have an asp page that has numerous events for my user. Let's say I have an event scheduled for 9:30 and one for 10:45. My applet currently goes off at 9:30 and at 10:45 to alert the user that their event is due. However, at this point, I need to update the table and set the reminded field to true. So, this is why I'm doing it in an applet. If anyone can think of an easier way to do this portion of it outside of an applet on an NT server or something, please let me know. I'm new to java, so I'm not sure if I'm clear on the whole odbc jdbc driver issue. Does this look for the driver on the client machine where the applet is running? I assumed that and thought that the driver was part of java 1.1. If not, what do I need to do to load the driver and get this to work? Thanks a lot!!!
I agree. Here's the link:
subject: jdbc driver not found
It's not a secret anymore!