This discussion is archived
2 Replies Latest reply: Aug 2, 2011 3:50 PM by 879767 RSS

Run application as windows service

863708 Newbie
Currently Being Moderated
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?
  • 1. Re: Run application as windows service
    gimbal2 Guru
    Currently Being Moderated
    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:

    http://sourceforge.net/projects/wrapper/


    Do a google search for "java windows service wrapper" to find more.
  • 2. Re: Run application as windows service
    879767 Newbie
    Currently Being Moderated
    We use the Tanuki wrapper and find it's pretty good (although we pay for the commercial license)
    http://wrapper.tanukisoftware.com/doc/english/download.jsp

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points