> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat and Sun/Oracle Java 7
> - tomcat 6 will run fine under a Sun/Oracle Java 1.6 JVM > - tomcat 7 will run fine under a Sun/Oracle Java 1.6 JVM > - tomcat 6 will run fine under a Sun/Oracle Java 1.7 JVM > - tomcat 7 will run fine under a Sun/Oracle Java 1.7 JVM > - tomcat 6 will run fine under an OpenJDK Java 1.7 JVM > - tomcat 7 will run fine under an OpenJDK Java 1.7 JVM The above are correct, assuming Tomcat is built with Java 6. > there may (or may not) be problems compiling a servlet that uses > JDBC under a Sun/Oracle Java 1.7 JDK, but assuming that this servlet > does not use JDBC in any way : If the servlet compiles cleanly under Java 7, it should be runnable under Java 7. > - the classes of a servlet that has been compiled under a Sun/Oracle Java 1.6 > JDK will run fine under Tomcat 6 and a Sun/Oracle Java 1.7 JVM Yes. > - the classes of a servlet that has been compiled under a Sun/Oracle Java 1.7 > JDK will run fine under Tomcat 6 and a Sun/Oracle Java 1.6 JVM No. > - the classes of a servlet that has been compiled under a Sun/Oracle Java 1.6 > JDK will run fine under Tomcat 6 and a OpenJDK Java 1.6 JVM Yes. > - the classes of a servlet that has been compiled under a Sun/Oracle Java 1.6 > JDK will run fine under Tomcat 6 and a OpenJDK Java 1.7 JVM Yes. > alternatively, is it so that to run a servlet compiled under some JDK only > works under the corresponding JRE/JVM ? Classes compiled under a particular major JVM version are generally not loadable under prior versions. Compiler options exist to change that behavior. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org