简体   繁体   English

Tomcat 5.5是否与Java 7兼容?

[英]Is Tomcat 5.5 compatible with Java 7?

My server runs a legacy Debian 4, Tomcat 5.5 and JDK 5. I plan to (if possible) install JDK 7 on the server and let Tomcat 5.5 runs on JDK 7, without upgrading Tomcat. 我的服务器运行遗留的Debian 4,Tomcat 5.5和JDK 5.我计划(如果可能的话)在服务器上安装JDK 7,让Tomcat 5.5在JDK 7上运行,而不升级Tomcat。

Is there any compatibility problems I should be aware of? 我应该注意哪些兼容性问题?

Thanks. 谢谢。

According to this page , Tomcat 5.5 only depends on a >= 1.4 JDK. 根据这个页面 ,Tomcat 5.5只依赖于> = 1.4 JDK。 So you should be just fine with Java 7. 所以你应该对Java 7很好。

There should be no problem with running Tomcat 5.5 on Java 7.0 (modulo the normal advice of using a version of Java with the latest security patches.) See the link in Greg's answer for the Tomcat platform requirements. 在Java 7.0上运行Tomcat 5.5应该没有问题(模块化使用带有最新安全补丁的Java版本的常规建议。)请参阅Greg对Tomcat平台要求的回答中的链接。

Running Tomcat 5.5 and / or an ancient Debnian release are more concerning though. 然而,运行Tomcat 5.5和/或古老的Debnian版本更令人担忧。 I'd be surprised if you still getting security patches for those platforms. 如果您仍然获得这些平台的安全补丁,我会感到惊讶。 I'd advise upgrading to Tomcat 6 or 7 and a recent OS release. 我建议升级到Tomcat 6或7以及最近的OS版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM