This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,860 Users
  • 2,269,775 Discussions
  • 7,916,823 Comments

Discussions

Run application as windows service

863708
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?
Tagged:

Answers

  • gimbal2
    gimbal2 Senior software engineer NetherlandsMember 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:

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


    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)
    http://wrapper.tanukisoftware.com/doc/english/download.jsp
This discussion has been closed.