aspose file tools*
The moose likes JDBC and the fly likes registerDriver() Failed: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "registerDriver() Failed: " Watch "registerDriver() Failed: " New topic
Author

registerDriver() Failed:

Josue Cedeno
Ranch Hand

Joined: Feb 06, 2001
Posts: 71
I'm working with the JDBCTest Tool 1.03, and this is the error I receive. Any ideas anyone?
registerDriver() Failed:
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
Can you post more of your code?
Josue Cedeno
Ranch Hand

Joined: Feb 06, 2001
Posts: 71
Sure.
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 previous error.
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: registerDriver() Failed: