This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes settng up JDBC-ODBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "settng up JDBC-ODBC" Watch "settng up JDBC-ODBC" New topic

settng up JDBC-ODBC

Grant Crofton
Ranch Hand

Joined: Nov 08, 2000
Posts: 154
You must get asked this all the time, but I searched and couldn't find what I'm looking for.
I'm trying to set up a JDBC-ODBC link for use with Access 2000, but on the line
I get a ClassNotFoundException.
I can compile everything OK. I don't have a CLASSPATH set, is this the problem? I'm using JDK1.3 and Win2000, the code is in an applet.
When I can get this working, I intend to have the applet accessing the DB on our web server (over the Internet).
However, I've been reading the Sun docs about setting this up, and at the end it says something about JDBC_ODBC being unsuitable for the Internet as all clients have to have various things installed on them, so should I not be using this?
(, last paragraph). If I shouldn't, how do I set up an MS Access driver?
Josh Johnson

Joined: Jan 15, 2001
Posts: 20
sun.jdbc.odbc.JdbcOdbcDriver is in rt.jar. You need rt.jar in your class path. It comes with the Java SDK.
jQuery in Action, 2nd edition
subject: settng up JDBC-ODBC
Similar Threads
odbc question
Plotting DB data on Internet
Retrieving a List of All ODBC/JDBC Data Sources
MS Access Driver