Nov 19 2011

How to run your Java application as a windows service using Commons Daemon Procrun

Category: javaUlrich Palha @ 1:40 am

Overview

Apache Commons Daemon is made of 2 parts. One written in C that makes the interface to the operating system and the other in Java that provides the Daemon API. Both Win32 and UNIX like platforms are supported, but for this article I will only focus on the former and show you how to use Procrun to run your java application as a windows service.

Prerequisites

If  you want to run the sample application, you will need Java 6 and Maven installed. GIT is also recommended.
Continue reading “How to run your Java application as a windows service using Commons Daemon Procrun”

Tags: , ,