# Install jasmin with Homebrew, Nix

Assembler for the Java Virtual Machine. Version 2.4 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:jasmin
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jasmin
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#jasmin
```

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

## Package facts

- **Package key:** brew:jasmin
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jasmin>
- **Version:** 2.4
- **Source summary:** Assembler for the Java Virtual Machine
- **Homepage:** <https://jasmin.sourceforge.net/>
- **Repository:** <https://sourceforge.net/p/jasmin/code>
- **Upstream docs:** <https://jasmin.sourceforge.net/>
- **License:** BSD-4-Clause
- **Source archive:** <https://downloads.sourceforge.net/project/jasmin/jasmin/jasmin-2.4/jasmin-2.4.zip>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- jasmin (cli)
- jasmin (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

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

Jasmin is an assembler for the Java Virtual Machine that turns a textual, assembler-like description of a Java class into a binary .class file. Its importance comes from being one of the earliest practical ways to write, inspect, teach, and generate JVM bytecode outside the Java compiler.

### Project history

Jasmin was created by Jon Meyer as a companion tool for the O'Reilly book "Java Virtual Machine" by Meyer and Troy Downing. The documentation dated July 1996 describes version 1.0 and presents the tool as a simple assembler that intentionally maps closely to Java class-file conventions rather than acting like a macro assembler.

The SourceForge project later hosted the continuing open-source code. Version 2 added JasminXT, defined by Daniel Reynaud, to expose lower-level bytecode control such as bytecode version directives, offsets, StackMap support, annotations, attributes, and newer JVM access flags.

### Adoption history

The project homepage describes Jasmin as the de-facto standard Java assembly format, used in compiler classes and cloned or ported multiple times. That adoption reflects its niche: a readable interchange and teaching syntax for people who need to reason about JVM class files directly.

### How it is used

Users write .j files containing class directives, field definitions, method bodies, labels, and JVM instructions, then run the jasmin executable or jar to emit .class files. The guide emphasizes direct control and compact syntax, while noting that Jasmin deliberately does little compile-time validation of referenced classes or type descriptors.

### Why package nerds care

For package collectors, Jasmin is a small but historically dense JVM tool: it preserves an early Java-era bytecode workflow, predates many modern bytecode libraries, and remains useful for compiler courses, verifier tests, reverse-engineering experiments, and hand-crafted class-file examples.

### Timeline

- 1996: Jonathan Meyer's Jasmin user guide documents version 1.0.
- 2004: The SourceForge homepage identifies Jasmin as continuing as an open-source project.
- 2006: JasminXT documents the version 2.0 language extension for lower-level JVM control.
- Jasmin 2.1-2.4: JasminXT gains invokedynamic, StackMapTable, Unicode escapes, diagnostics fixes, and dynamic compiler class creation.

### Related projects

- Jasmin is directly tied to the JVM class-file format and the O'Reilly "Java Virtual Machine" book. JasminXT was defined for the tinapoc Java reverse-engineering toolkit and extends the original assembler language for verifier and virtual-machine test cases.

### Sources

- <https://jasmin.sourceforge.net/>
- <https://jasmin.sourceforge.net/guide.html>
- <https://jasmin.sourceforge.net/xt.html>
- source_facts.description
- source_facts.homepage


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

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

## Other Package-Manager Records

- Nix - jasmin: normalized package name match | nixpkgs package indexes: pkgs/by-name/ja/jasmin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [acme](https://www.automicvault.com/pkg/brew/acme/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [asm6809](https://www.automicvault.com/pkg/brew/asm6809/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [dasm](https://www.automicvault.com/pkg/brew/dasm/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [gputils](https://www.automicvault.com/pkg/brew/gputils/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [lit](https://www.automicvault.com/pkg/brew/lit/) - Shares av.db curated category or tags: cli, compiler-tools, developer-tools.
- [nasm](https://www.automicvault.com/pkg/brew/nasm/) - Shares av.db curated category or tags: assembler, cli, developer-tools.
- [re2c](https://www.automicvault.com/pkg/brew/re2c/) - Shares av.db curated category or tags: cli, compiler-tools, developer-tools.
- [tass64](https://www.automicvault.com/pkg/brew/tass64/) - Shares av.db curated category or tags: assembler, cli, developer-tools.

## Combined YAML source

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