Rakesh Juyal Rakesh Juyal - 1 year ago 142
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.

Answer Source

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)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download