Hi, I'll try to answer all the questions at once ;) Tomcat 5.0.x, especially later releases, run fine on J2SE 5.0 for the most part. Of course if your code contains 5.0 violations, such as a variable called enum, you'll run into issues. But Tomcat itself is fine.
Tomcat 5.0.x, especially later releases, can also be compiled fine on J2SE 5.0 with minimal manipulation of the build.xml file. Specifically, ensure the source and target switches are set properly in the various Ant javac targets. Earlier Tomcat 5.0.x releases (and of course 4.x also) have some J2SE 5.0 keywords and such that prevent compilation, but you can modify those pretty easily. If you're building a custom Tomcat we expect you to be comfortable with these minor modifications ;) Tomcat 5.5 builds and runs on J2SE 5.0 out of the box. It also builds on JDK 1.4 out of the box, but requires the compat package to run on JDK 1.4 as the various installation docs suggest. Yoav Shapira http://www.yoavshapira.com >-----Original Message----- >From: QM [mailto:[EMAIL PROTECTED] >Sent: Sunday, October 17, 2004 2:16 PM >To: Tomcat Users List >Subject: Re: Error Building Tomct 5.0.28 with JDK 1.5 > >On Sat, Oct 16, 2004 at 06:17:25PM -0700, Joe Krause wrote: >: I'm trying to compile Tomcat 5.0.28 from source using Sun's new JDK 1.5. > >I recall seeing something along this line a few weeks (months?) ago. > >I may be wrong on this -- OK, there's a good chance I'm wrong here ;) -- >but I think JDK 1.5 and Tomcat 5.0.x don't get along well. Did you >search the archives? > >-QM > > >-- > >software -- http://www.brandxdev.net >tech news -- http://www.RoarNetworX.com > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
