# jflex を Homebrew, apt, dnf, MacPorts, Nix, zypper でインストール

jflex のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install jflex
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jflex
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:jflex
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/jflex>
- **バージョン:** 1.9.1
- **ソース概要:** Lexical analyzer generator for Java, written in Java
- **ホームページ:** <https://jflex.de/>
- **リポジトリ:** <https://github.com/jflex-de/jflex>
- **上流ドキュメント:** <https://jflex.de/manual.html>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://github.com/jflex-de/jflex/releases/download/v1.9.1/jflex-1.9.1.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- jflex (cli)
- jflex (エイリアス)

## 依存関係

- openjdk

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 1.9.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/jflex-de/jflex
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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.

### ソース

- <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>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
