开发者

java service wrapper

I have a 开发者_运维知识库Swing Java application; assume it is just like calculator. What I want to do is

  1. Start this automatically in start up
  2. Run as a Windows service
  3. Show an icon in the system tray when it closes.

Using Java service wrapper, I have made it to Windows service; but it is still not starting on reboot, nor does an icon display in the tray.


You can use winrun4j or Java Service Wrapper

For java service wrapper tutorial, have a look to this article


Take a look on http://commons.apache.org/daemon/jsvc.html I believe that this is exactly what you need.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜