On May 14, 2014, at 2:44 AM, P Manchanda <manchan...@yahoo.com> wrote:

> Respected Tomcat Experts, 
> 
> I understand this would be a commonly asked question but I was not able to 
> reach any concrete solution by digging
> around the net.
> 
> We are planning to move to Apache Tomcat (probably the latest stable version) 
> and Java 8. 

Why would you not use the latest stable release?  If you’re going to take the 
time to upgrade, go to the latest release of the branch that your on (i.e. 
7.0.x or 8.0.x).

> So, my question is that whether Apache Tomcat v7/v8 would run with Java 8 and 
> support applications build using Java 8. 

Yes.  Tomcat 7 will work with Java 8.  If you’re on the latest version (7.0.53 
at this time), it’ll work a little better as there were some fixes around Java 
8 & JSPs.  See change log for more info.

  
http://tomcat.apache.org/tomcat-7.0-doc/changelog.html#Tomcat_7.0.53_(violetagg)

Any version of Tomcat 8 should work with Java 8.

> 
> The Release notes 
> (https://tomcat.apache.org/tomcat-8.0-doc/RELEASE-NOTES.txt), mention that 
> Tomcat requires Java 7 or later.

This is the *minimum* version of Java required.  Later versions are OK too.

> Similarly, a blog 
> (https://spring.io/blog/2014/03/21/java-8-in-enterprise-projects) also claims 
> (and explains why) Tomcat's compatibility. 
> 
> However, a discussion on SO 
> (http://stackoverflow.com/questions/18208805/does-tomcat-8-support-java-8),
> has claims and counter claims regarding this. 

They are wrong.  Looks like Mark has commented on the incorrect ones.

Dan

> 
> So, hoping to get a concrete confirmation -- either ways -- from this group.
> 
> 
> ___________________ 
> Thks & brgds 
> P Manchanda
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to