Setting up Tomcat 7 on server: “NB: JAVA_HOME should point to a JDK not JRE”… Why?

前端 未结 7 908
小蘑菇
小蘑菇 2020-12-19 06:40

I\'m trying to set up Tomcat 6 on my server instance (Fresh install of Windows Server 2008 R2 Enterprise). I want to make a Java EE service available via a URL.

It

7条回答
  •  再見小時候
    2020-12-19 07:05

    Check that the JAVA_HOME is set up correctly and if you have JDK installed create JRE_HOME for jre, JAVA_HOME would be set up for the JDK. Also alternate between "C:/Progra~1/..." and "C:/Program Files/..." to make sure the system is recognizing the path correctly

提交回复
热议问题