Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 7791 invoked from network); 10 Jan 2003 12:59:13 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Jan 2003 12:59:13 -0000 Received: (qmail 19479 invoked by uid 97); 10 Jan 2003 13:00:10 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 19409 invoked by uid 97); 10 Jan 2003 13:00:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 19387 invoked by uid 98); 10 Jan 2003 13:00:09 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <83F0258A9996D311B14200A0C98F173602F22BCE@aas-internet.aas.com> From: "Turner, John" To: 'Tomcat Users List' Subject: RE: Unsure how to set environment variables for win xp Date: Fri, 10 Jan 2003 07:58:28 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Check my HOWTO for Windows XP Pro: http://www.johnturner.com/howto There are a couple of places in there where it explains how to install the JDK, set JAVA_HOME, etc. John > -----Original Message----- > From: Tammer Salem [mailto:salemdev@hotmail.com] > Sent: Friday, January 10, 2003 6:52 AM > To: Tomcat Users List > Subject: Unsure how to set environment variables for win xp > > > Hi, > I'm having problems compiling my servlets. I know this is > probably out of the domain of tomcat setup, but I decided to > ask anyway. > I have a servlet called (test.java) in a directory > (D:\Program Files\Apache Tomcat > 4.0\webapps\test\WEB-INF\classes). My javac.exe is in > (D:\j2sdk1.4.1_01\bin). I can't get the servlet file to > compile. I think my CLASSPATH and Path environment variables > are messed up, because I keep on getting the following exceptions: > > ================================= > HelloWorld.java:2: package javax.servlet does not exist > import javax.servlet.*; > ^ > HelloWorld.java:3: package javax.servlet.http does not exist > import javax.servlet.http.*; > ^ > HelloWorld.java:11: cannot resolve symbol > symbol : class HttpServlet > location: class HelloWorld > public class HelloWorld extends HttpServlet > ^ > HelloWorld.java:13: cannot resolve symbol > symbol : class HttpServletRequest > location: class HelloWorld > public void doGet(HttpServletRequest request, > HttpServletResponse response) throws ServletException, IOException > > ^ > HelloWorld.java:13: cannot resolve symbol > symbol : class HttpServletResponse > location: class HelloWorld > public void doGet(HttpServletRequest request, > HttpServletResponse response) throws ServletException, IOException > > ^ > HelloWorld.java:13: cannot resolve symbol > symbol : class ServletException > location: class HelloWorld > public void doGet(HttpServletRequest request, > HttpServletResponse response) throws ServletException, IOException > > > ^ > 6 errors > ================================= > > Can anyone please help me? > > > thanks, > Tammer Salem > -- To unsubscribe, e-mail: For additional commands, e-mail: