Re: How to compile a servlet for Tomcat 5 on IBM JVM

2008-12-21 Thread André Warnier
Rainer Jung wrote: [...] Thanks Rainer. You gave me more than hope. The tip below already does it. You just saved my laptop, and Warszaw. [...] You compiled with Java 6 and try to run under Java 5. That won't work, unless you add "-target 1.5" to your javac arguments. I did, and it works. The

Re: How to compile a servlet for Tomcat 5 on IBM JVM

2008-12-21 Thread Rainer Jung
Hi André, On 21.12.2008 23:28, André Warnier wrote: I have created (ok, copied from Chuck would be more exact) a tiny weeny little servlet. It's about 15 lines including comments. On my Windows PC, where I have a Sun JDK 1.6 and Tomcat 5.5 installed, the servlet compiles fine, with the following