我完全糊涂了。 Windows 7 Professional w / Service Pack 1,64位。
我正在尝试安装Apache Tomcat 7,但之前安装了Tomcat 6。它可能没有正确安装,我不确定。
我下载了apache-tomcat-6.0.44-windows-x64.zip并将其移至C:\ Program Files(x86)\ Apache Software Foundation \ Tomcat 6.0 \ bin。
将环境变量CATALINA_HOME设置为C:\ Program Files(x86)\ Apache Software Foundation \ Tomcat 6.0
我导航到tomcat 6目录并尝试删除,如相关贡献中所述:
C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin>service.bat remove
Removing the service 'Tomcat6' ...
Using CATALINA_BASE: "C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0"
The specified service has been marked for deletion.
Unable to delete 'Tomcat6' service
The specified service has been marked for deletion.
Failed to delete service
Failed removing 'Tomcat6' service
所以......我无法删除该服务,因为它已标记为删除。 WHA ..... ?????
戴夫