• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How do I set the classpath...

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, can someone tell me how the classpath for the driver should
be set for servlets and JSPs?
I have Tomcat 3.2.1 running on Window98, JDK1.2;
My driver is NetDirect's JData2_0.sql.$Driver installed at:
c:\program files\NetDirect\JDataConnect\JData2_0
Any help would be appreciated!
Xinbo
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
set CLASSPATH=.;C:\path\xfcvxvxv\here your driver
This should help
Bye
 
Xinbo Cheng
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for reply. should path be where the driver is located or
should I used it as is, would you care to explain the xfcvxvxv?
what does it do? thanks a lot!
Xinbo
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Set the path and class apth as follows :
================
Set path=c:\jdbc
SET CLASSPATH=.;C:\JDK1.2.2\LIB\JVM.LIB;C:\JDK1.2.2\LIB\TOOLS.JAR;C:\JSDK2.0\LIB\jsdk.JAR;C:\JSWDK-1.0.1\LIB\SERVLET.JAR;c:\jdbc\classes12.zip;C:\jakarta-tomcat\lib\servlet.jar;C:\jaka rta-tomcat\lib\jasper.jar
=============
Here in APth and Classpath JDBC is the folder where my driver is kept. (I am using classes12 thin driver)
 
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic