Any alternative of YAJSW to run jar as window service

和自甴很熟 提交于 2019-12-11 08:29:16

问题


I have followed exactly same steps as mentioned in their documentation. But, getting error when trying to start service. "Error 1053: Service did not respond to the start or control request in a timely fashion"

Anyone help me to resolve this issue or suggestion any alternative to run jar file as window service will be highly appreciated.


回答1:


Maybe your problem is related to have Java 7 and Java 8 installed. Removing either version solve the issue.

There is an alternative solution described here that allows to keep both version in the machine.




回答2:


Downgrading to Java 7 resolved this issue for me. Literally removing Java 8. Seems to be a bug in the YAJSW,

Any other solution is kindly welcomed



来源:https://stackoverflow.com/questions/28627483/any-alternative-of-yajsw-to-run-jar-as-window-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!