# jflex mit Homebrew, apt, dnf, MacPorts, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für jflex in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:jflex
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install jflex
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jflex
```

  Evidenz: MacPorts ports tree: devel/jflex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install jflex
```

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

- dnf (92%):

```sh
sudo dnf install jflex
```

  Evidenz: Fedora Rawhide package metadata: jflex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#jflex
```

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

- zypper (92%):

```sh
sudo zypper install cup-maven-plugin
```

  Evidenz: openSUSE Tumbleweed package metadata: cup-maven-plugin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:jflex
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/jflex>
- **Version:** 1.9.1
- **Quellzusammenfassung:** Lexical analyzer generator for Java, written in Java
- **Homepage:** <https://jflex.de/>
- **Repository:** <https://github.com/jflex-de/jflex>
- **Upstream-Dokumentation:** <https://jflex.de/manual.html>
- **Lizenz:** BSD-3-Clause
- **Quellarchiv:** <https://github.com/jflex-de/jflex/releases/download/v1.9.1/jflex-1.9.1.tar.gz>
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- jflex (cli)
- jflex (Alias)

## Abhängigkeiten

- openjdk

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf all

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 1.9.1
- lokale Daten: OK
- Upstream-Repository: https://github.com/jflex-de/jflex
- Info: No package-manager update timestamp was available.
- Info: No cached GitHub release or tag data was available.
## Projektgeschichte und Nutzung

JFlex is a lexical analyzer generator for Java, written in Java. The official manual describes it as a rewrite of JLex, with no shared code with Vern Paxson's C/C++ flex, and the README describes generated lexers as deterministic finite automata that form the first front-end step in many compilers.

### Projektgeschichte

JFlex 1.0 was publicly released in May 1998. The project history says it was built with Sun's JDK 1.1, JFlex itself through bootstrapping, and the CUP parser generator.

The project accumulated the usual compiler-tooling milestones over time: SourceForge-era releases, Ant integration, CUP and BYacc/J interoperability, Unicode work, Maven build changes, and a license change from GPL to BSD in the 1.5.0 release. JFlex 1.6.1 moved development, wiki, and issue tracking to GitHub in 2015.

The 1.9.x line continued the post-GitHub release history, with the manual identifying version 1.9.1 as a 2023 manual and release pages tying JFlex and the JFlex Maven plugin to Maven Central-oriented workflows.

### Adoptionsgeschichte

JFlex's adoption comes from the durable place of lex-style scanner generators in compiler courses, programming language tools, and Java build systems. The manual includes sections for porting from JLex and lex/flex and for working with CUP, CUP2, BYacc/J, and Jay, which documents its role in the Java parser-generator ecosystem.

Package metadata in the input shows JFlex packaged by Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and related distributions. That breadth reflects a tool old enough to be infrastructure: users may encounter it as a command-line utility, a Maven plugin, or a build dependency hidden inside language tooling.

### Wie es verwendet wird

A JFlex user writes a `.flex` lexical specification containing regular expressions and actions. JFlex generates Java source for a scanner that reads input, matches the regular expressions, and emits actions or tokens; projects commonly wire the generated scanner into CUP-family parsers or build tools such as Maven, Ant, and Bazel.

### Warum Paket-Nerds sich dafür interessieren

JFlex is package-nerd significant because it preserves a classic Unix compiler-tool idea in the Java ecosystem. It is simultaneously a small CLI, a Maven-era build component, and a compatibility bridge for JLex and lex/flex users who need generated Java scanners with Unicode and deterministic-automata performance.

### Zeitleiste

- 1998: JFlex 1.0 public release.
- 2000: JFlex 1.3 release moved part of the project to SourceForge.
- 2014: JFlex 1.5.0 changed license from GPL to BSD and changed the build from Ant to Maven.
- 2014: JFlex 1.6.0 added Unicode 7.0 support.
- 2015: JFlex 1.6.1 moved development, wiki, and issue tracking to GitHub.
- 2023: JFlex 1.9.1 released.

### Related projects

- JFlex is directly related to JLex, lex, flex, CUP, CUP2, BYacc/J, Jay, Maven, Ant, and Bazel. Its repository also includes JFlex Maven plugin and Unicode plugin components.

### Quellen

- <https://api.github.com/repos/jflex-de/jflex>
- <https://formulae.brew.sh/formula/jflex>
- <https://github.com/jflex-de/jflex>
- <https://github.com/jflex-de/jflex/releases>
- <https://jflex.de/history.html>
- <https://jflex.de/manual.html>
- <https://www.jflex.de/changelog.html>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jflex
- **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

## Andere Paketmanager-Einträge

- Debian apt - jflex - 1.7.0-3: normalized package name match | Debian stable package indexes: jflex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lexical analyzer generator for Java | http://www.jflex.de/
- Nix - jflex: normalized package name match | nixpkgs package indexes: pkgs/by-name/jf/jflex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jflex - 1.7.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: jflex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lexical analyzer generator for Java | http://www.jflex.de/
- dnf - jflex - 1.7.0-50.fc44: normalized package name match | Fedora Rawhide package metadata: jflex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fast Scanner Generator | https://jflex.de/
- zypper - cup-maven-plugin - 1.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: cup-maven-plugin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | CUP Maven plugin | https://www.jflex.de/
- zypper - jflex - 1.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: jflex from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Lexical Analyzer Generator for Java | https://www.jflex.de/
- zypper - jflex-javadoc - 1.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: jflex-javadoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | API documentation for jflex | https://www.jflex.de/
- zypper - jflex-maven-plugin - 1.9.1-1.4: normalized package name match | openSUSE Tumbleweed package metadata: jflex-maven-plugin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | JFlex Maven Plugin | https://www.jflex.de/
- MacPorts - jflex: normalized package name match | MacPorts ports tree: devel/jflex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/de/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk](https://www.automicvault.com/de/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [quex](https://www.automicvault.com/de/pkg/brew/quex/) - Shares av.db curated category or tags: cli, developer-tools, lexer-generator, lexical-analysis.
- [re2c](https://www.automicvault.com/de/pkg/brew/re2c/) - Shares av.db curated category or tags: cli, compiler-tools, developer-tools, lexer-generator.
- [flex](https://www.automicvault.com/de/pkg/brew/flex/) - Shares av.db curated category or tags: cli, compiler-tools, developer-tools, lexer-generator.
- [kimwitu++](https://www.automicvault.com/de/pkg/brew/kimwitu/) - Shares av.db curated category or tags: cli, compiler, compiler-tools, developer-tools.
- [bsc](https://www.automicvault.com/de/pkg/brew/bsc/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [cc65](https://www.automicvault.com/de/pkg/brew/cc65/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [closure-compiler](https://www.automicvault.com/de/pkg/brew/closure-compiler/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [emscripten](https://www.automicvault.com/de/pkg/brew/emscripten/) - Shares av.db curated category or tags: cli, compiler, developer-tools.
- [javacc](https://www.automicvault.com/de/pkg/brew/javacc/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, generator, java.

## Combined YAML source

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


## Quellen

- 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
