Rakesh Juyal Rakesh Juyal - 8 months ago 78
Java Question

How to create windows service from java jar?

I have an executable JAR file. Is it possible to create a Windows service of that JAR? Actually, I just want to run that on startup, but I don't want to place that JAR file in my startup folder, neither in the registry.


This article should tell you all you need to know: "Running Java Applications as a Windows Service"; it mentions using "Java Service Wrapper" (there is a community edition called YAJSW)