I'd like to install a Java application as a Windows service. I did so successfully a couple of years ago using this Java Service wrapper. Unfortunately, it seems like this tool is not in development anymore and thus no Windows 7 and 64 bit versions are available. I need to install my Java application on Windows 7 and XP machines.
Does anyone know a good alternative?
Edit: I need this for commercial use; the suggested Java Service Wrapper from Tanuki is too expensive.
We can do this by passing the daemon-reload command to systemctl. We'll need to run the daemon-reload command each time we modify the unit file. Next, we notice the system reports our service running but disabled. Disabled services will not start automatically when the system boots.
I'm now using WinRun4J - a really nice, lean tool that is easy to configure and handle and usable in commercial applications. Many thanks to assylias, whose comment pointed my in the right direction.
Some time ago I used the tanuki project and we were very happy with it. I believe is one of the most popular ones.
There is also YAJSW that is based on tanuki (as I understand ) with a LGPL licence
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With