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 set up of CLASSPATH on jdk1.3 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 "set up of CLASSPATH on jdk1.3" Watch "set up of CLASSPATH on jdk1.3" New topic

set up of CLASSPATH on jdk1.3

Josue Cedeno
Ranch Hand

Joined: Feb 06, 2001
Posts: 71
How do I set up the CLASS PATH to identify the jdbc-odbc driver in the jdk 1.3?
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

It's not necessary. It is included in your jdk so as long as you have your classpath set to include the jdk, you are set. Setting up the DSN and all that other junk to make it work is another story!
Are you having a specific problem?
Josue Cedeno
Ranch Hand

Joined: Feb 06, 2001
Posts: 71
I'm using an app called JDBCTest. It is an applet which test my driver connections (and more). But when I run the program I receive the error:
registerDriver() Failed:
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
Where did I go wrong?
Here are some specs
ANT_HOME: I:\jakarta-ant-1.3
CLASSPATH: I:\MYJAVA\CLASS; .; I:\jakarta-tomcat-3.2.1\lib\servlet.jar; I:\jakarta-tomcat-3.2.1\lib\jasper.jar; I:\jdk1.3.1_01\lib\tools.jar;
J2EE_HOME: I:\j2sdkee1.3
JAVA_HOME: I:\jdk1.3.1_01
PATH: ...I:\jdk1.3.1_01\bin
TOMCAT_HOME: I\jakarta-tomcat-3.2.1
I agree. Here's the link:
subject: set up of CLASSPATH on jdk1.3
It's not a secret anymore!