Need a way to check status of Windows service programmatically

前端 未结 9 987
走了就别回头了
走了就别回头了 2021-01-04 10:11

Here is the situation:

I have been called upon to work with InstallAnywhere 8, a Java-based installer IDE, of sorts, that allows starting and stopping of windows ser

9条回答
  •  春和景丽
    2021-01-04 10:27

    I have had some luck in the past with the Java Service Wrapper. Depending upon your situation you may need to pay in order to use it. But it offers a clean solution that supports Java and could be used in the InstallAnywhere environment with (I think) little trouble. This will also allow you to support services on Unix boxes as well.

    http://wrapper.tanukisoftware.org/doc/english/download.jsp

提交回复
热议问题