Tomcat 6 是否支持 Java 8

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/32708576/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 20:38:58  来源:igfitidea点击:

Does Tomcat 6 support Java 8

javatomcatjava-8

提问by user3586664

We are currently using Tomcat 6.0.20 and Java 7, but there is plan to get upgraded to Java 8. So wanted to know if Tomcat 6 would support Java 8.

我们目前使用的是 Tomcat 6.0.20 和 Java 7,但有升级到 Java 8 的计划。所以想知道 Tomcat 6 是否支持 Java 8。

回答by akhil_mittal

Yes it should as mentioned in release notes here:

是的,它应该在此处的发行说明中提到:

Tomcat 6.0 is designed to run on Java SE 5.0 and later.

Tomcat 6.0 旨在在 Java SE 5.0 及更高版本上运行。

回答by SatyaTNV

Tomcat 6.xis designed to run on JDK 5.0and later version. So it will support. But Tomcat 6.xcannot run on JDK 1.4and older releases.

Tomcat 6.x旨在运行JDK 5.0和更高版本。所以它会支持。但Tomcat 6.x不能在JDK 1.4旧版本上运行。

Apache Tomcat Reference

Apache Tomcat 参考