Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

jdbc driver not found

 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic