> From: mdunford [mailto:martin.dunf...@gmail.com] > Subject: RE: Tomcat 6.0.18 examples recompile ok but dont work!! > > > javac -cp ../../../../lib/servlet-api.jar HelloWorldExample.java > > I tried this. No luck.
Do you get any errors on the javac? Did you get any errors from javac when you used it without the -cp arguments? (If you didn't, then something is seriously broken in javac, since it wouldn't know how to resolve references to the javax.servlet package.) Does javac actually produce anything useful on your Mac? > > Do you have a JAVA_HOME or JRE_HOME environment > > variable set? > No, how should I set these? You must have one or the other in order to run Tomcat from the scripts - unless your installation has modified the standard scripts. The value of JAVA_HOME should be the path of the directory in which a JDK is installed, and JRE_HOME is the path to the JRE, if you're not using a JDK. How are you starting Tomcat? If it's from within an IDE, that may be masking a multitude of sins. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org