software that enables other programs to be run as services or daemons
A service wrapper is a computer program that wraps arbitrary programs thus enabling them to be installed and run as Windows Services or Unix daemons, programs that run in the background, rather … Wikipedia
🌐
Tanuki Software
wrapper.tanukisoftware.com
Portada - Java Service Wrapper
Utilizado por miles de empresas y desarrolladores, el Java Service Wrapper es una solución empresarial comprobada que simplifica drásticamente la implementación, el lanzamiento y el monitoreo de su aplicación Java en una amplia gama de plataformas.
Discussions

java service wrapper, very basic step by step setup with startup failure - Stack Overflow
I have simply donwloaded JSW community edition, unwrapped into a directory: c:\servicetest So here i have a bin, conf, lib and log subdirs, among others. From now on this will be (root). I referen... More on stackoverflow.com
🌐 stackoverflow.com
What is Java Service Wrapper?
https://wrapper.tanukisoftware.com/doc/english/introduction.html More on reddit.com
🌐 r/learnjava
2
1
September 4, 2020
I built a tool that turns any Java app into a native windows service
Is this like Tanuki Software’s service wrapper, or does it take a different approach? (There’s a community edition, so not comparing proprietary vs OS). Interested because we had trouble with some of the Windows apps launching waratek RASP More on reddit.com
🌐 r/java
32
83
December 31, 2025
Check out my Java Reddit API Wrapper

I disagree with your naming conventions: classes should start with an upper case letter and packages have no capitalization. Also, I think this would benefit from unit tests instead of a bunch of mains, and putting them into their own source tree (src/test/java/yourpackagehere).

More on reddit.com
🌐 r/java
43
56
May 25, 2016
🌐
Apache
cwiki.apache.org › confluence › display › tomcat › JavaServiceWrapper
Java Service Wrapper - Apache Software Foundation
The Java Service Wrapper is an application which has evolved out of a desire to solve a number of problems common to many Java applications:
🌐
SourceForge
sourceforge.net › projects › wrapper
Java Service Wrapper download | SourceForge.net
Download Java Service Wrapper for free. Configurable tool which allows Java applications to be installed and controlled like native NT or Unix services. Includes fault correction software to automatically restart crashed or frozen JVMs.
Rating: 5 ​ - ​ 7 votes
🌐
VA
oit.va.gov › Services › TRM › ToolPage.aspx
Java Service Wrapper
Java SE - Authorized w/ Constraints · Virtualization and Consolidation of Servers (Server Virtualize First) - Authorized w/ Constraints · Veterans Crisis Line: 1-800-273-8255 (Press 1) Social Media · Complete Directory · Email Address Required · Notices · Privacy ·
Top answer
1 of 1
2

rather than extending WrapperSimpleApp, your main class should implement the org.tanukisoftware.wrapper.WrapperListener interface.

You can find a very detailed description about implementing the interface on our website: http://wrapper.tanukisoftware.com/doc/english/integrate-listener.html

Please let me know if you have any further questions about the implementation and/or the configuration properties in your conf file.

Another advise which comes in handy for me sometimes, is rather than running your application immediately as service, I find it easier to do the integration by running first as console application, because you can see the output directly on your console. Once everything seems working, I go ahead and install/run as service. To run as console application, you would run for example:

C:\servicetest\bin>wrapper -c ../conf/wrapper.conf

You can also turn on debug output for the Wrapper by setting

wrapper.debug=true

in your conf file.

Edit due to the comment:

if your application is actually as simple as you describe, then just write your application as normal Java application without any Wrapper API parts.

You can use the WrapperSimpleApp to run your application out of the box with codeless integration into the Wrapper.

All you need to do is set the following properties in your conf file:

wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
wrapper.app.parameter.1=textappender.Main
wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=../MyProject.jar

With this configuration, the Wrapper will be able to run your application as windows service.

UPDATE2

I'm not sure what your code exactly looks like, but it seems you are calling WrapperManager.stop() in your main class...

Following the initial example class, I have modified the class, so it is not using any Wrapper-API (which for an simple application is not necessary):

public class Main {    
public static void main(String[] args) {
    while(true) {
        Logger.getLogger(Main.class.getName()).log(Level.INFO, "I'm alive");
        try 
        { Thread.sleep(2000); } 
        catch (java.lang.InterruptedException ex) 
        { return; }
    }
}
}

After compile and creating the jar, the necessary properties in the conf file are:

wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
wrapper.app.parameter.1=textappender.Main
wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=../MyProject.jar

cheers,

Find elsewhere
🌐
Homebrew
formulae.brew.sh › formula › java-service-wrapper
Homebrew Formulae: java-service-wrapper
brew install java-service-wrapper · Simplify the deployment, launch and monitoring of Java applications · https://wrapper.tanukisoftware.com/ License: GPL-2.0-only OR GPL-3.0-only · Development: Pull requests · Formula JSON API: /api/formula/java-service-wrapper.json ·
🌐
IBM
ibm.com › docs › en › webmethods-bpm › wm-optimize › 10.15.0
Configuring the Java Service Wrapper - IBM Documentation
January 19, 2026 - The Java Service Wrapper is a utility program developed by Tanuki Software, Ltd that is used to launch the JVM in which Optimize runs. You can control various aspects of Optimize components using settings that control how the Java Service Wrapper ...
🌐
IBM
ibm.com › docs › en › webmethods-integration › wm-integration-server › 11.1.0
The Java Service Wrapper
Get assistance for the IBM products, services and software you own · Provides fixes and updates for your system's software, hardware, and operating system
🌐
Spring
spring.io › projects › spring-ai
Spring AI
Level up your Java code and explore what Spring can do for you.
🌐
Krenger
krenger.ch › blog › java-service-wrapper-3-5-20-for-windows-x64
Java Service Wrapper 3.5.20 for Windows x64 – Simon Krenger
August 16, 2013 - Newer versions: Newer versions of the wrapper are available here. Download: wrapper-windows-x86-64-3.5.20.zip · Tags: Build, Java Service Wrapper, Open Systems, Tanuki, Wrapper
🌐
CNET
download.cnet.com › java-service-wrapper-64-bit › 3000-2213_4-75609453.html
Java Service Wrapper (64-bit) for Windows - Free download and software reviews - CNET Download
September 10, 2013 - Java Service Wrapper provides ability to run as a Windows Service, ability to run as a UNIX daemon, Codeless Integration, capture and logging of all console output from JVM, flexible classpath configuration, including wildcards, and JVM Monitoring and restart functionality.
Rating: 4 ​ - ​ 1 votes
🌐
Reddit
reddit.com › r/java › i built a tool that turns any java app into a native windows service
r/java on Reddit: I built a tool that turns any Java app into a native windows service
December 31, 2025 -

I've been working on a tool called Servy that makes it easy to run any Java app as a native Windows service, without rewriting it or wrapping it in custom service code.

The idea is simple. You point it at java.exe, pass your JVM and app arguments, set the working directory and environment variables, choose the startup type, and install the service. From there, the Java app behaves like a normal Windows service with proper start/stop handling.

Servy provides a desktop app, a CLI, PowerShell integration, and a manager app for monitoring services in real time. It's aimed at devs or sysadmins who deploy Java apps on Windows and want something more structured than ad-hoc scripts or basic service wrappers.

Compared to tools like sc.exe, WinSW, or NSSM, Servy focuses on day-to-day operability: configurable working directories, stdout/stderr redirection with log rotation, health checks with restart and recovery policies, and optional pre-launch and post-launch hooks. It's designed to be usable in production environments on Windows 7 through Windows 11 as well as Windows Server.

GitHub repo: https://github.com/aelassas/servy

Demo video: https://www.youtube.com/watch?v=biHq17j4RbI

🌐
CNET
download.cnet.com › java-service-wrapper › 3000-2213_4-75609451.html
Java Service Wrapper for Windows - Free download and software reviews - CNET Download
February 20, 2026 - Java Service Wrapper provides ability to run as a Windows Service, ability to run as a UNIX daemon, Codeless Integration, capture and logging of all console output from JVM, flexible classpath configuration, including wildcards, and JVM Monitoring and restart functionality.
Rating: 4 ​ - ​ 1 votes
🌐
Coderanch
coderanch.com › t › 93144 › open-source › Java-Service-Wrapper-Tanuki-Software
Anyone used Java Service Wrapper by Tanuki Software? (Java Servers forum at Coderanch)
If I boot up at say 8:00 a.m. and my JAVA scheduler is set to display the GUI at 12:00 p.m., at which point I am still logged on, then why wouldn't it display the JFrame then? ... The service doesn't have a screen to display anything on. You might be logged on, in which case you have a screen, but that doesn't affect the service in any way. It still doesn't have a screen. ... Hi, I may be wrong.. but we use service wrapper for silent processes like backups, or some update Jobs.
🌐
Sourceforge
yajsw.sourceforge.io
YAJSW - Yet Another Java Service Wrapper - Introduction
YAJSW is a java centric implementation of the java service wrapper by tanuki (JSW). It aims at being mostly configuration compliant with the original. It should therefore be easy to switch from JSW to YAJSW. JSW is a wonderful software I have been using for some time in production.
🌐
Krenger
krenger.ch › blog › java-service-wrapper-from-source
Java Service Wrapper from source – Simon Krenger
July 9, 2010 - To launch any Java program as a service, you might have to use a wrapper. This article shows how to build a current release of the Tanuki Service Wrapper (x64) from source.