开发者

java service wrapper

开发者 https://www.devze.com 2023-03-03 14:56 出处:网络
I have a 开发者_运维知识库Swing Java application; assume it is just like calculator. What I want to do is

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

精彩评论

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