How to configure Tomcat to use Java 7

前端 未结 7 1048
长发绾君心
长发绾君心 2020-12-16 11:58

I have a web application in java 6 byte code and would like to test it in a Java 7 JVM environmment. For that purpose, I would like to configure Tomcat (fo

7条回答
  •  醉话见心
    2020-12-16 12:23

    Go to tomcat/bin and modify the JAVA_HOME parmater in catalina.sh (for linux/unix) or catalina.bat (for windows). This means that only tomcat jvm will change, not everything else.

提交回复
热议问题