1

Possible Duplicate:
How to create a windows service from java app

How to make the Java application as windows service? I need to run the Java application as windows service for all PC in my company whichever connected to the server. How is it possible?

Community
  • 1
  • 1
bharath
  • 14,283
  • 16
  • 57
  • 95

3 Answers3

7

I think you will have to use the "Java Service Wrapper".

Here is a link that I think can help you with that: http://wrapper.tanukisoftware.com/doc/english/introduction.html#service

Update

Another 2 links:

How to use Java Service Wrapper for our java application

http://wrapper.tanukisoftware.com/doc/english/qna-service.html

Community
  • 1
  • 1
javing
  • 12,307
  • 35
  • 138
  • 211
2

Procrun is a set of applications that allow Windows users to wrap (mostly) Java applications (e.g. Tomcat) as a Windows service.

http://commons.apache.org/daemon/procrun.html

lutzh
  • 4,917
  • 1
  • 18
  • 21
2

I always you Winrun4J for windows service, I think it more simple than Java Service Wrapper But for Linux I use Java Service Wrapper.

http://winrun4j.sourceforge.net/

Adi Sembiring
  • 5,798
  • 12
  • 58
  • 70