Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Tomcat 8 support Java 8?

Tags:

tomcat

Is tomcat 8 (today as RC1 - see this) supporting Java 8, even if it is still in beta?

Among others Tomcat 8 supports Java EE 7:

  • Websockets
  • Servlet api 3.1 (Asynch servlet support)

I had trouble in the past with Tomcat 7 / Java 7, that's why I am asking this question.


Update

An interesting article on infoq indicates that tomcat 8 is ready for java 8. Even Tomcat 7 would be.

See the article here


If you see any compatibility issue, I will report it here.

like image 636
unludo Avatar asked Aug 13 '13 12:08

unludo


People also ask

Which Tomcat version is suitable for Java 8?

Latest stable version supported on Java 8 is Tomcat 10 but the users of Tomcat 10 onwards should be aware that, as a result of the move from Java EE to Jakarta EE as part of the transfer of Java EE to the Eclipse Foundation, the primary package for all implemented APIs has changed from javax. * to jakarta.

Which version of Tomcat is compatible with Java?

Apache Tomcat 9 supports the Java Servlet 4.0, JavaServer Pages 2.3, Java Unified Expression Language 3.0 and Java API for WebSocket 1.0 specifications. The changes between versions of specifications may be found in the Changes appendix in each of specification documents.

Is Tomcat 8 still supported?

The Apache Tomcat team announces that support for Apache Tomcat 8.0. x will end on 30 June 2018. This means that after 30 June 2018: releases from the 8.0.

Does Tomcat support Java 11?

0. Tomcat 10. 1 will only support Java 11 and later.


1 Answers

According to the Tomcat Docs:

Any installed Java 7 or later JRE (32-bit or 64-bit) may be used.

like image 180
Deividi Cavarzan Avatar answered Sep 19 '22 14:09

Deividi Cavarzan