简体   繁体   中英

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

看一下http://commons.apache.org/daemon/jsvc.html,我相信这正是您所需要的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM