I am having an executable jar file. Is it possible to create windows service of that jar? Actually i just want to run that on startup, but i don't want to place that jar in my startup folder, neither in registry.
Though it is a manual process but i can go with that too,
Rakesh Juyal
2009-10-24 09:40:24
+2
A:
This article should tell you all you need to know: "Running Java Applications as a Windows Service"
You can also use "Java Service Wrapper" (there is a community edition)
Adrian
2009-10-24 09:40:04
A:
Tanuki changed license of jsw some time ago, if I was to begin a project, I would use Yet Another Java Service Wrapper, http://yajsw.sourceforge.net/
raticulin
2009-10-24 13:00:44
+1
A:
I've been experimenting with Apache Commons Daemon. It's supports windows (Procrun) and unix (Jsvc). Advanced Installer has a Java Service tutorial with an example project to download. If you get their javaservice.jar running as a windows service you can test it by using "telnet 4444". I used their example because my focus was on getting a java windows service running, not writing java.
mcdon
2010-03-17 22:33:50