# Install jython with Homebrew, apt, MacPorts, Nix, pacman

Python implementation written in Java (successor to JPython). Version 2.7.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:jython
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jython
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jython
```

  Evidence: MacPorts ports tree: lang/jython/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install jython
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#jython
```

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

- pacman (92%):

```sh
sudo pacman -S jython
```

  Evidence: Arch Linux sync databases: jython from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:jython
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jython>
- **Version:** 2.7.4
- **Source summary:** Python implementation written in Java (successor to JPython)
- **Homepage:** <https://www.jython.org/>
- **Repository:** <https://github.com/jython/jython>
- **Upstream docs:** <https://www.jython.org/>
- **License:** PSF-2.0
- **Source archive:** <https://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.4/jython-installer-2.7.4.jar>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jython (cli)
- jython (alias)

## Dependencies

- openjdk

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.7.4
- Local data: ok
- Upstream repository: https://www.jython.org/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

Jython is the long-running implementation of Python for the Java platform, descended from JPython and maintained as a Python runtime that can import and use Java classes while running on the JVM.

### Project history

JPython was created in late 1997 by Jim Hugunin at CNRI. Barry Warsaw took over as primary developer in February 1999, and the project moved to SourceForge in October 2000 under the Jython name.

The project became a durable bridge between the Python and Java ecosystems. Its 2.x line tracked Python 2 compatibility, while the official Jython site and repository describe ongoing Python 3 work as a separate development direction rather than a completed replacement.

### Adoption history

Jython found its niche wherever Python syntax was useful inside Java applications: embedding scripts in JVM software, calling Java libraries from Python code, and experimenting with dynamic language support on the Java platform.

The package has remained in Unix package managers because it is historically important, still useful for JVM/Python interoperability, and different enough from CPython to matter to users who specifically need Java integration.

### How it is used

Users run the `jython` command as a Python interpreter on the JVM, often to script Java APIs or to embed Python-like extension points in Java software. Official documentation emphasizes Java package access, Java bytecode compilation, and integration with Java platform classes.

### Why package nerds care

For package maintainers, Jython is a classic alternate-language-runtime package: it looks like Python at the command line but has JVM dependencies, Java compatibility concerns, and a release cadence separate from CPython.

It is also a reminder that language packages are not always mere compilers or interpreters; some are compatibility layers between two large ecosystems, which makes versioning and dependency policy especially visible.

### Timeline

- 1997: JPython was created by Jim Hugunin.
- 1999: Barry Warsaw became primary developer and released JPython 1.1.
- 2000: The project moved to SourceForge and was renamed Jython.
- 2020: Jython 2.7.2 was released with Java 8 builds and Java 11 testing.
- 2022: Jython 2.7.3 was released.
- 2024: Jython 2.7.4 was released.

### Related projects

- Jython is related to CPython as an alternate Python implementation, to the Java platform as its runtime target, and to other Python-on-managed-runtime projects that trade native C extension compatibility for host-platform integration.

### Sources

- <https://github.com/jython/jython>
- <https://www.jython.org/>
- <https://www.jython.org/jython-old-sites/license.html>
- <https://www.jython.org/news.html>


## 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:** jython
- **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 - jython - 2.7.3+repack1-1: normalized package name match | Debian stable package indexes: jython from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python seamlessly integrated with Java | http://www.jython.org
- Debian apt - jython-doc - 2.7.3+repack1-1: normalized package name match | Debian stable package indexes: jython-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Jython documentation including API docs | http://www.jython.org
- Nix - jython: normalized package name match | nixpkgs package indexes: pkgs/by-name/jy/jython/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jython - 2.7.3+repack1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: jython from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python seamlessly integrated with Java | http://www.jython.org
- Ubuntu apt - jython-doc - 2.7.3+repack1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: jython-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Jython documentation including API docs | http://www.jython.org
- pacman - jython - 2.7.4-3: normalized package name match | Arch Linux sync databases: jython from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An implementation of the Python language written in Java | https://www.jython.org/
- MacPorts - jython: normalized package name match | MacPorts ports tree: lang/jython/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 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.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [pypy](https://www.automicvault.com/pkg/brew/pypy/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, python.
- [pypy3.10](https://www.automicvault.com/pkg/brew/pypy3-10/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, python.
- [python-freethreading](https://www.automicvault.com/pkg/brew/python-freethreading/) - Shares av.db curated category or tags: cli, interpreter, language-runtime, python.
- [micropython](https://www.automicvault.com/pkg/brew/micropython/) - Shares av.db curated category or tags: cli, language-runtime, python.
- [virtualenv](https://www.automicvault.com/pkg/brew/virtualenv/) - Shares av.db curated category or tags: cli, language-runtime, python.
- [abcl](https://www.automicvault.com/pkg/brew/abcl/) - Shares av.db curated category or tags: cli, interpreter, jvm, language-runtime.
- [gosu](https://www.automicvault.com/pkg/brew/gosu/) - Shares av.db curated category or tags: cli, java, jvm, language-runtime.
- [groovy](https://www.automicvault.com/pkg/brew/groovy/) - Shares av.db curated category or tags: cli, java, jvm, language-runtime.
- [jruby](https://www.automicvault.com/pkg/brew/jruby/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, implementation, java, jvm, language.

## Combined YAML source

View the package source record on GitHub. [combined/jython.yml](https://github.com/automic-vault/db/blob/main/combined/jython.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
