create window service

Posted on 2014-09-05
Last Modified: 2014-09-17

I have a jar file and need to create a installer (exe) when this exe is run it should configure  as a window service?
AS we have a setup (exe) for apache web server and when we run this exe a apache service is installed in the windows?
Question by:Rocking
  • 4
  • 2
LVL 86

Expert Comment

ID: 40306656
Where should the service run - on the same machine as Apache?

Author Comment

ID: 40307136
this is just an example
As we have a setup (exe) for apache web server and when we run this exe a apache service is installed in the windows?

same behaviour (make setup file from jar jar which will run as window service) , i need to create for my jar file whose functioning is to monitor a directory.

I am stuck how to create a window service of that jar file which can run on all windows machine xp,2000,win 7,8
LVL 86

Expert Comment

ID: 40307321
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.


Author Comment

ID: 40307814
@CEHJ Does not work as window service..

Features/Framework      YAJSW      JSW      ACD      L4J
License      LGPL                           GPL/Commercial      Apache      BSD/MIT
Run as Windows Service                 X      X      X
LVL 86

Accepted Solution

CEHJ earned 500 total points
ID: 40314038 Does not work as window service..
Sorry - i'm not with you. The support table states the opposite ...
LVL 86

Expert Comment

ID: 40327452

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question