Could Java be used to write a Win32 System Service?

孤人 提交于 2019-12-05 21:53:13

You could certainly do this with the Java Service Wrapper. I'm not familiar with Jabaco, but I wouldn't be at all surprised if you can simply reference the Jabaco runtime from the Java Service Wrapper. It's a pretty trivial tool to use, and the free variant should be sufficient.

Also, there is a java specific win32 service wrapper: JSL

I'm not sure if you could java directly to create a service, but you can use srvany.exe to run any program as a service.

http://support.microsoft.com/kb/137890

Jpackages dot com have a product called execJ which does exactly that.

I also found an article about how to do it differently here.

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