Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I set the classpath...

 
Xinbo Cheng
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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
 
jayakeshpk
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
shams sh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic