This is my problem, I pointing my CLASSPATH at the jsdk.jar file, but it still will not compile.
 
Keith
 
---------------------------------------------------------------------------
Keith Ball - Praktikant
AF12 Operationelle  Analysen  Luftwaffe
IABG MbH                 Einsteinstr. 20              85521 Ottobrunn
Phone : 0049-89-6088-2556
Email : [EMAIL PROTECTED]                         WWW site : www.iabg.de
----------------------------------------------------------------------------
----- Original Message -----
Sent: Tuesday, October 05, 1999 10:28 AM
Subject: Re: Me again with another simple question (CLASSPATH PROBLEM)

Yup, if you want to run with JSDK 2.0, you have to compile with JSDK 2.0.  Set your CLASSPATH to point to the jsdk.jar and recompile your servlets.
    (*Chris*)
 
----- Original Message -----
From: Keith Ball
Sent: Tuesday, October 05, 1999 1:00 AM
Subject: Me again with another simple question (CLASSPATH PROBLEM)

I apologise for this once again, but this time I think there really is a problem.
 
As many of you will be aware I had a problem with my class path, this is due to the fact that I set the JSDK2.1 servlet.jar as the server.jar(oops).   I am running Apache 1.3.9 with Jserv version 1.0.  JServ needs the JSDK 2.0 to run.  So I downloaded the JSDK 2.0 and set the new class path as the jsdk.jar.  This however has stopped my files from compiling.  I am using jdk1.2.2, on a NT box.  Sevlets which have been compiled using jskd2.1 do run on the server, and I can't use that work around.  Is there some sort of bug, or am I doing something obvious again ?
 
 
D:\Ballie\Project\servlets>javac SampleServlet.java
SampleServlet.java:2: Package javax.servlet not found in import.
import javax.servlet.*;
       ^
SampleServlet.java:3: Package javax.servlet.http not found in import.
import javax.servlet.http.*;
       ^
SampleServlet.java:8: Superclass HttpServlet of class SampleServlet not found.
public class SampleServlet extends HttpServlet
                                   ^
3 errors
 
D:\Ballie\Project\servlets>set
CLASSPATH=c:\jdk1.2.2\jsdk2.0\lib\jsdk.jar;d:\ballie\project\servlets\
 
 
Thanks for the help in advance...
 
Keith
 
---------------------------------------------------------------------------
Keith Ball - Praktikant
AF12 Operationelle  Analysen  Luftwaffe
IABG MbH                 Einsteinstr. 20              85521 Ottobrunn
Phone : 0049-89-6088-2556
Email : [EMAIL PROTECTED]                         WWW site : www.iabg.de
----------------------------------------------------------------------------

Reply via email to