Tomcat6 and Java 7

后端 未结 4 936
别跟我提以往
别跟我提以往 2020-12-09 05:59

In linux, is it possible to have a web application written using Java 7 be deployed on tomcat6? If so, what configuration needs to be modified to allow it to work?

I

4条回答
  •  萌比男神i
    2020-12-09 06:18

    I'm just using default Tomcat installations without setting up any config files except the tomcat-users.xml for GUI login.

    Apache Tomcat 6.0.35 and 6.0.16 are each running on JVM 1.7.0_03-b05 (Windows+Linux).

    JAVA_HOME must point to the JDK folder; e.g.:

    C:\Program Files\Java\jdk1.7 (Windows)

    or

    /usr/lib/jvm/java-6-sun (Ubuntu, this link points to JDK installation)

提交回复
热议问题