If not, when is it foreseen for?
If yes, do you know if there is something special to migrate an existing installation of Tomcat 7/Java 6 to Tomcat 7/Java 7?
Thanks!
If not, when is it foreseen for?
If yes, do you know if there is something special to migrate an existing installation of Tomcat 7/Java 6 to Tomcat 7/Java 7?
Thanks!
Officially Java 1.6 or later is supported.
This post goes into more detail.
EDITED
As pointed out by sourcedelica the Official documentation says you can use JDK 1.6 or later so you can use Tomcat 7 with JDK 1.7.
Also check the Tomcat 7 Migration Guide .
By the way your applications developed with JDK 1.6 may fail using JDK 1.7, especially if you use classes in sun.*
packages (which is bad). Even if retro-compatibility is strong, some corner cases exist, see Oracle list of incompatibilities for more details.
You can also find some stuff about this in this SO article : New features in JDK 1.6 and 1.7
Last month (Feb. 2013) I updated my Java from 1.6 to 1.7. However, the update has repercussion - Tomcat 7.0.37 is not running anymore after the Java update.
I tried un-installing the Java 1.7, replace with 1.6 and the Apache Tomcat runs smoothly again. I forgot to capture the exact error message and I couldn't find also on the server logs.
FYI.
Thanks
i am using jdk6
with tomcat 7
.i have following issues.
INFO: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6.
To suppress this message, run Tomcat
on Java 7
, remove the WebSocket JAR
s from $CATALINA_HOME/lib
or add the WebSocketJARs
to the tomcat.util.scan.DefaultJarScanner.jarsToSkip
property in $CATALINA_BASE/conf/catalina.properties
.
Note that the deprecated Tomcat 7 WebSocket API
will be available.
© 2022 - 2024 — McMap. All rights reserved.