我有一台运行着jdk1.5.0_16
和jre1.6.0_03
的服务器。并正在使用tomcat 6.0来部署应用程序并使用窗口服务来启动停止tomcat。JDK JRE升级导致问题
现在,我已经卸载双方并安装最新JRE(7u3)
和JDK(7u3)
和也更新JAVA_HOME
和PATH
到C:\Program Files\Java\jdk1.7.0_03
和C:\Program Files\Java\jdk1.7.0_03\bin
分别
但现在当我重新启动我的Tomcat服务器,我收到以下错误: -
---------------------------
Services
---------------------------
Windows could not start the Apache Tomcat on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 0.
---------------------------
OK
---------------------------
我失踪了多少?我根本没有改变tomcat中的任何东西。
编辑:得到下面的错误在jakarta_service日志
Failed creating java C:\Program Files\Java\jre1.5.0_16\bin\client\jvm.dll
[2012-02-27 18:00:12] [1260 prunsrv.c] [error] ServiceStart returned 1
你检查Tomcat的日志文件的错误输出? – 2012-02-27 12:04:03
Tomcat 6 ***可能不适用于Java 7.关于这个同样的问题,SO上还有其他线程。 – Perception 2012-02-27 12:06:23