Hi Angela,

 You should have installed the Java Server Web Development Kit 2.1 or 2.2 for 
compiling Servlets or JSP. Because that only contains the servlet.jar file which needs 
to be included the classpath. You need NOT add tools.jar as you have mentioned. The 
classpath should as follows

SET CLASSPATH=.;C:\JSWDK2.1\servlet.jar;

where c:\jswdk2.1  is the directory where you have extracted the Java Server Web 
Development Kit from javasoft.
Bye,
Niranjan.

----- Original Message -----
From: Angela Chow <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 12:24 AM
Subject: Classpath help


> hi,
>
> I have problem running JSP using JDK 1.2.2, but i was
> able to run servlet.  I am guessing the problem is at
> my classpath setting.
>
> i have windows 98, and i install JDK 1.2.2 in my C
> drive, this is what i have in my autobat.bat file
>
> % CLASSPATH=C:\JDK1.2.2\lib\tools.jar;%CLASSPATH%
> SET PATH=%PATH%;C:\JDK1.2.2\BIN;C:\IBMCON~1\CICS\BIN;
>
> thanks...
>
> angela
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to