Forum Stats

  • 3,838,749 Users
  • 2,262,397 Discussions


Run application as windows service

863708 Member Posts: 25
edited Aug 2, 2011 6:50PM in Java Desktop Applications
I'm developing a windows desktop (standalone) application.
How how do I run my java application as Windows Services ?
Should I change my application code?


  • gimbal2
    gimbal2 Member Posts: 11,949 Gold Trophy
    Java is platform independent, as such it doesn't do OS specific things like installing as a Windows service.

    But there are external pieces of software that can make it happen for you, they are simply called "service wrappers". There are a few, I don't know which one is good and which one is not. This one is on sourceforge:

    Do a google search for "java windows service wrapper" to find more.
  • 879767
    879767 Member Posts: 2
    We use the Tanuki wrapper and find it's pretty good (although we pay for the commercial license)
This discussion has been closed.