1.7 Versions of JDK and Tomcat8.0 are installed on the new computer, the environment variables are configured, the JDK installation is successful, and the Tomcat server can be started by using the DOS command under Startup name.
Every time you start the Tomcat service you need to click on the Startup.bat file, or enter startup name under DOS command line, too troublesome, so you want to set up the Tomcat service boot automatically.
Notebook computer (Environment Win7 JDK1.8 Tomcat8.0) According to my blog, links as follows:
http://blog.csdn.net/gis_bt/article/details/59054963 test success;
It is strange that the desktop computer installs the Service.bat file under the DOS command line and always prompts failed installing Tomcat service.
A deliberate cause may be caused by several possibilities
(1) JDK version is incompatible, so the JDK is replaced with 1.8_x64 version, and then change the environment variables, again with Service.bat install to register tomcat, unsuccessful.
(2) The system itself causes (re-system too cumbersome not excluded)
(3) Tomcat Port is occupied (many online say) is not very practical, Tomcat homepage can open