tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Welz <r.w...@pro2col.de>
Subject problem with javac
Date Tue, 17 Jun 2008 08:54:06 GMT
Hello.

I am not familiar with javac and tried the following as in the manpage:

javac -classpath /opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/ 
classes/; /opt/jakarta-tomcat-3.3.1a//webapps/ROOT/WEB-INF/classes/com/ 
oreilly/servlet  /home/welz/develop/fundus/StingRay/Develop/Servlets/ 
stingray_backup.java

but I get an invalid flag error.

Q: I want to fix some compile errors:
like

root@Stingray:/opt/stingray# javac /home/welz/develop/fundus/StingRay/ 
Develop/Servlets/stingray_backup.java/home/welz/develop/fundus/ 
StingRay/Develop/Servlets/stingray_backup.java:3: package  
javax.servlet does not exist
import javax.servlet.*;

my classpaths are /opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/ 
classes/com/oreilly/servlet/ and descendants
/opt/jakarta-tomcat-3.3.1a/webapps/examples/jsp/
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets
/opt/jakarta-tomcat-3.3.1a/webapps/examples/WEB-INF/classes/

how do I give javac those paths?




/opt/jakarta-tomcat-3.3.1a/lib/common/servlet.jar
/opt/jakarta-tomcat-3.3.1a/webapps/admin/WEB-INF/scripts/watchdog- 
servlet.xml
/opt/jakarta-tomcat-3.3.1a/webapps/admin/test/watchdog-servlet.jsp
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/Base64Decoder.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/Base64Encoder.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/CacheHttpServlet.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/CacheHttpServletResponse.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/CacheServletOutputStream.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/CookieNotFoundException.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/CookieParser.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/Daemon.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/DaemonHttpServlet.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/HttpMessage.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/HttpsMessage.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/LocaleNegotiator.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/LocaleToCharsetMap.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/MailMessage.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/MailPrintStream.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/MultipartFilter.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/MultipartRequest.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/MultipartResponse.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/MultipartWrapper.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/ParameterNotFoundException.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/ParameterParser.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/RemoteDaemonHttpServlet.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/RemoteHttpServlet.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/ServletUtils.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/UploadedFile.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/VersionDetector.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/BufferedServletInputStream.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/DefaultFileRenamePolicy.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/FilePart.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/FileRenamePolicy.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/LimitedServletInputStream.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/MacBinaryDecoderOutputStream.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/MultipartParser.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/ParamPart.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/Part.class
/opt/jakarta-tomcat-3.3.1a/webapps/ROOT/WEB-INF/classes/com/oreilly/ 
servlet/multipart/PartInputStream.class
/opt/jakarta-tomcat-3.3.1a/webapps/examples/jsp/jsptoserv/ 
jsptoservlet.jsp
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets/index.html
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets/reqheaders.html
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets/reqinfo.html
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets/helloworld.html
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets/sessions.html
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets/cookies.html
/opt/jakarta-tomcat-3.3.1a/webapps/examples/servlets/reqparams.html
/opt/jakarta-tomcat-3.3.1a/webapps/examples/WEB-INF/classes/ 
servletToJsp.java
/opt/jakarta-tomcat-3.3.1a/webapps/examples/WEB-INF/classes/ 
servletToJsp.class


Am 17.06.2008 um 10:42 schrieb users-help@tomcat.apache.org:

>


---
Robert Welz










---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message