File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "set up of CLASSPATH on jdk1.3" Watch "set up of CLASSPATH on jdk1.3" New topic
Author

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?
Jamie
Josue Cedeno
Ranch Hand

Joined: Feb 06, 2001
Posts: 71
Yes.
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: http://aspose.com/file-tools
 
subject: set up of CLASSPATH on jdk1.3
 
Similar Threads
params in jsp:setProperty in .tag file won't accept el
Portal and portlet developement forum
Different behaviour when running JDBC program on Window and Unix !!!
remembering user clicks ?
Suggest me a site where...