Any alternative of YAJSW to run jar as window serv

2019-08-15 22:22发布

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.

2条回答
爷、活的狠高调
2楼-- · 2019-08-15 22:47

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

查看更多
看我几分像从前
3楼-- · 2019-08-15 23:00

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.

查看更多
登录 后发表回答