安装后不设任何环境变量,无法启动tomcat
错误日记如下:
[2007-05-30 15:11:59] [info] Starting service...
[2007-05-30 15:11:59] [173 javajni.c] [error] 找不到指定的模块。
[2007-05-30 15:11:59] [924 prunsrv.c] [error] Failed creating java C:\Java\jdk1.6.0\jre\bin\server\jvm.dll
[2007-05-30 15:11:59] [1179 prunsrv.c] [error] ServiceStart returned 1
[2007-05-30 15:11:59] [info] Run service finished.
[2007-05-30 15:11:59] [info] Procrun finished.
解决方法:把%JAVA_HOME%\bin\ 下的文件 msvcr71.dll 拷贝到 %TOMCAT_HOME%\bin\下