# Install jsvc with Homebrew, apk, apt, Nix, zypper

Wrapper to launch Java applications as daemons. Version 1.6.1 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:jsvc
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jsvc
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add jsvc
```

  Evidence: Alpine Linux edge package indexes: jsvc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install jsvc
```

  Evidence: Debian stable package indexes: jsvc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#jsvc
```

  Evidence: nixpkgs package indexes: pkgs/by-name/js/jsvc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install apache-commons-daemon-jsvc
```

  Evidence: openSUSE Tumbleweed package metadata: apache-commons-daemon-jsvc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:jsvc
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jsvc>
- **Version:** 1.6.1
- **Source summary:** Wrapper to launch Java applications as daemons
- **Homepage:** <https://commons.apache.org/daemon/jsvc.html>
- **Repository:** <https://gitbox.apache.org/repos/asf/commons-daemon.git>
- **Upstream docs:** <https://commons.apache.org/proper/commons-daemon/index.html>
- **License:** Apache-2.0
- **Source archive:** <https://www.apache.org/dyn/closer.lua?path=commons/daemon/source/commons-daemon-1.6.1-src.tar.gz>
- **Last updated:** 2026-06-22T14:03:51-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jsvc (cli)
- jsvc (alias)

## Dependencies

- openjdk

## Build dependencies

- autoconf
- automake
- libtool

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.6.1
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://commons.apache.org/daemon/jsvc.html
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

jsvc is the Unix-oriented launcher in Apache Commons Daemon for running Java server applications as background daemons. It matters because it bridges JVM services with classic Unix service expectations: start as root for privileged work, bind low ports, switch to an unprivileged user, write pid files, and cooperate with init-style supervision.

### Project history

Apache Commons Daemon packages a Java API with native launchers. The jsvc command became the Unix side of that project, while the same project points Windows users toward procrun for Windows Service integration. The Apache Commons Daemon source tree has release tags reaching back to 1.0-era releases in 2007, and Apache release notes document a long maintenance line for changes in operating-system support and JVM integration.

### Adoption history

jsvc has been adopted mostly through server packaging rather than through standalone application fandom. It appears in Homebrew and in Linux distribution packages as the practical wrapper for Java daemons, and it is closely associated with Java server deployments such as Tomcat-style service startup.

### How it is used

Operators use jsvc when a Java process needs Unix daemon behavior that the JVM does not provide by itself. The command is especially useful for services that need a privileged startup step followed by a drop to a less privileged account.

### Why package nerds care

For package maintainers, jsvc is a small but telling example of the glue code needed to make a cross-platform runtime behave like a native Unix service. Its packaging spans Java, C, init systems, architecture support, and distribution policy.

### Timeline

- 2007: Apache Commons Daemon 1.0-era source tags appear in the Apache repository history.
- 2023: Apache Commons Daemon 1.3.4 continued the 1.x maintenance series.
- 2026: Apache Commons Daemon 1.6.x release notes recorded continued platform maintenance.

### Related projects

- Apache Commons Daemon also includes procrun for Windows service integration.
- Apache Tomcat is a common Java server context where Commons Daemon-style service launchers are relevant.

### Sources

- <https://commons.apache.org/proper/commons-daemon/changes.html>
- <https://commons.apache.org/proper/commons-daemon/index.html>
- <https://commons.apache.org/proper/commons-daemon/jsvc.html>
- <https://formulae.brew.sh/formula/jsvc>
- <https://github.com/apache/commons-daemon/tags>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jsvc
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - jsvc - 1.0.15-11: normalized package name match | Debian stable package indexes: jsvc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Wrapper to launch Java applications as daemons | https://commons.apache.org/proper/commons-daemon/
- Nix - jsvc: normalized package name match | nixpkgs package indexes: pkgs/by-name/js/jsvc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jsvc - 1.0.15-11build1: normalized package name match | Ubuntu 24.04 LTS package indexes: jsvc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Wrapper to launch Java applications as daemons | https://commons.apache.org/proper/commons-daemon/
- apk - jsvc - 1.4.1-r1: normalized package name match | Alpine Linux edge package indexes: jsvc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Executes classfile that implements a Daemon interface | https://commons.apache.org/proper/commons-daemon/jsvc.html
- zypper - apache-commons-daemon-jsvc - 1.4.1-2.3: normalized package name match | openSUSE Tumbleweed package metadata: apache-commons-daemon-jsvc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Java daemon launcher | https://commons.apache.org/daemon/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [scm-manager](https://www.automicvault.com/pkg/brew/scm-manager/) - Popular package that depends on this formula.
- [daemontools](https://www.automicvault.com/pkg/brew/daemontools/) - Shares av.db curated category or tags: cli, service-management, system, unix.
- [s6-rc](https://www.automicvault.com/pkg/brew/s6-rc/) - Shares av.db curated category or tags: cli, service-management, system, unix.
- [shepherd](https://www.automicvault.com/pkg/brew/shepherd/) - Shares av.db curated category or tags: cli, daemon, service-management, system.
- [daemon](https://www.automicvault.com/pkg/brew/daemon/) - Shares av.db curated category or tags: cli, service-wrapper, system, unix.
- [detach](https://www.automicvault.com/pkg/brew/detach/) - Shares av.db curated category or tags: cli, daemon, system, unix.
- [immortal](https://www.automicvault.com/pkg/brew/immortal/) - Shares av.db curated category or tags: cli, daemon, service-management, system, unix.
- [lunchy](https://www.automicvault.com/pkg/brew/lunchy/) - Shares av.db curated category or tags: cli, service-management, system.
- [supervisor](https://www.automicvault.com/pkg/brew/supervisor/) - Shares av.db curated category or tags: cli, daemon, system, unix.

## Combined YAML source

View the package source record on GitHub. [combined/jsvc.yml](https://github.com/automic-vault/db/blob/main/combined/jsvc.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
