which java version does tomcat use

后端 未结 5 1042
情书的邮戳
情书的邮戳 2020-12-20 12:49

I have set the JAVA_HOME to C:\\Program Files\\Java\\jdk1.5.0_11
I have set the Classpath to C:\\Program Files\\Java\\jre1.5

5条回答
  •  [愿得一人]
    2020-12-20 12:49

    If you are running Tomcat from Eclipse, the JVM version that Tomcat will use is the one that is the checked JRE in the Installed JREs.

    Example:

    Check:

    Bonus:

    If you want to find out which Tomcat's version is compatible with which version of Java, check it out here

提交回复
热议问题