File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
cannot compile with -classpath
Joined: Jul 25, 2002
Mar 28, 2005 22:19:00
It seems that the -classpath option is unable to find the servlet-api.jar file.
I am using
5.0 on XP, I get an invalid flag, so I tried to rename the C:\Tomcat 5.0 I get an access denied window.
Thanx in Advance
Joined: Sep 21, 2004
Mar 29, 2005 00:54:00
The servlet-api.jar is located in 'tomcat_folder\common\lib'. Renaming the tomcat folder might cause issues. Please try to use the original folder name that you used while installing Tomcat.
I agree. Here's the link:
subject: cannot compile with -classpath
Unable to compile HelloWorldExample.java file in Tomcat 5.0.28
using the �classpath option in the javac command
package javax.servlet does not exist... Please help me..
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015