Skip to content
Advertisement

How to create a windows service from java app

I’ve just inherited a java application that needs to be installed as a service on XP and vista. It’s been about 8 years since I’ve used windows in any form and I’ve never had to create a service, let alone from something like a java app (I’ve got a jar for the app and a single dependency jar – log4j). What is the magic necessary to make this run as a service? I’ve got the source, so code modifications, though preferably avoided, are possible.

Advertisement

Answer

I’ve had some luck with the Java Service Wrapper

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement