• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

set up of CLASSPATH on jdk1.3

 
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?
 
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
 
Always! Wait. Never. Shut up. Look at this tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!