How to create a windows service from java app
Posted
by ideasculptor
on Stack Overflow
See other posts from Stack Overflow
or by ideasculptor
Published on 2008-09-16T00:06:34Z
Indexed on
2010/03/28
20:43 UTC
Read the original article
Hit count: 244
java
|windows-services
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.
© Stack Overflow or respective owner