On Apr 28, 2011, at 4:53 PM, Konstantin Kolinko wrote: > 2011/4/29 János Löbb <janos.l...@yale.edu>: >> Hi Konstantin, Chuck, >> >> I think I tried also with .../WEB-INF/classes and it still complained that >> it could not find or open the util package. Then I moved the two >> HTMLFilter.* files out from there a level up, commented out the package >> declaration in HTMLFilter.java and then javac compiled SessionExample.java >> and I am happy with it. Now I know how to mess with java files from the >> command line with tools like nano, pico and javac :-) >> >> And yes, I did not want to compile the whole Tomcat, just modify one of the >> servlet examples to suit my need. >> >> Thanks you both, >> > > :) BTW, why you are using "sudo" to invoke the compiler? Usually > root rights are not needed to compile a program. > > And may be these pages from the official Java Tutorial may be useful to you: > http://download.oracle.com/javase/tutorial/getStarted/cupojava/index.html > > Help for javac etc. is here: > http://download.oracle.com/javase/6/docs/technotes/tools/index.html#basic > > Best regards, > Konstantin Kolinko
Because the powers above me wanted to install and run it as root. I know, I know... and I recommended to set up a tomcat user who owns it... but I did not succeed. Thanks for the pointers, János --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org