You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mississippi John Hurt <jo...@gmail.com> on 2006/08/27 05:34:39 UTC

WebApp Using JDK 1.4, Tomcat 5.5.17 or 5.0.28?

Hi,
My web application was developed against JDK 1.4.2.  I heard Tomcat
5.5.17runs internally on JDK
1.5.  Is it a problem to deploy my webapp on Tomcat 5.5.17?  Or can webapps
developed under jdk 1.4.2 run fine unchanged on Tomcat 5.5.17?

RE: WebApp Using JDK 1.4, Tomcat 5.5.17 or 5.0.28?

Posted by Richard Mixon <rn...@qwest.net>.
>> I heard Tomcat 5.5.17runs internally on JDK 1.5.

Not quite correct. If you just get the core Tomcat 5.5.x download, it
expects to run in a Java 1.5 environment. However on the same page you
download the Core Tomcat package from ...
  http://tomcat.apache.org/download-55.cgi
There is a "JDK 1.4 Compatability Package" download that lets it run must
fine on Java 1.4.

That said, most webapps developed under Java 1.4.2 run just fine under Java
1.5.x. Out of a half-dozen webapps I have migrated, only one needed any
change at all - for that one I had to change a variable name, IIRC I was
using "enum" which is a new type in Java 1.5. Try it - Java 1.5 will give
you a whole new set of language capabilities. I did not use them really at
first, but within a year considered them indispensable.

Hope this helps - Richard

-----Original Message-----
From: Mississippi John Hurt [mailto:johnhurt@gmail.com] 
Sent: Saturday, August 26, 2006 8:35 PM
To: Tomcat Users List
Subject: WebApp Using JDK 1.4, Tomcat 5.5.17 or 5.0.28?

Hi,
My web application was developed against JDK 1.4.2.  I heard Tomcat
5.5.17runs internally on JDK 1.5.  Is it a problem to deploy my webapp on
Tomcat 5.5.17?  Or can webapps developed under jdk 1.4.2 run fine unchanged
on Tomcat 5.5.17?


---------------------------------------------------------------------
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