• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

set up of CLASSPATH on jdk1.3

 
Josue Cedeno
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I set up the CLASS PATH to identify the jdbc-odbc driver in the jdk 1.3?
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic