pkg.soopen package index

brew / rank 6866

Install jflex with Homebrew, apt, dnf, MacPorts, Nix, zypper

Lexical analyzer generator for Java, written in Java. Version 1.9.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install jflex.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install jflex

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install jflex

MacPorts ports tree · devel/jflex/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install jflex

Debian stable package indexes · jflex · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install jflex

Fedora Rawhide package metadata · jflex · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#jflex

nixpkgs package indexes · pkgs/by-name/jf/jflex/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install jflex

openSUSE Tumbleweed package metadata · jflex · source: download.opensuse.org

overview

Package summary

Lexical analyzer generator for Java, written in Java

Commands and aliases

  • jflex

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
jflexexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.9.1
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:jflex
Version1.9.1
Package managerHomebrew
Homepagehttps://jflex.de/
Repositoryhttps://github.com/jflex-de/jflex
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

jflex 1.7.0-3

lexical analyzer generator for Java

http://www.jflex.de/

sudo apt install jflex
  • Section: java
  • Architecture: all
  • 3 dependencies
  • normalized package name match
  • Matched by: Jflex
Debian stable package indexes · deb.debian.org · Debian stable package indexes: jflex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

jflex

nix profile install nixpkgs#jflex
  • normalized package name match
  • Matched by: Jflex
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/jf/jflex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

jflex 1.7.0-3

lexical analyzer generator for Java

http://www.jflex.de/

sudo apt install jflex
  • Section: universe/devel
  • Architecture: all
  • 3 dependencies
  • normalized package name match
  • Matched by: Jflex
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: jflex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

jflex 1.7.0-51.fc45

Fast Scanner Generator

https://jflex.de/

sudo dnf install jflex
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: jflex
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Jflex
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: jflex from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
zypper95%

cup-maven-plugin 1.9.1-1.6

CUP Maven plugin

https://www.jflex.de/

sudo zypper install cup-maven-plugin
  • License: BSD-3-Clause
  • Category: Development/Libraries/Java
  • Architecture: noarch
  • Source Package: jflex
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Jflex
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cup-maven-plugin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

jflex 1.9.1-1.6

Lexical Analyzer Generator for Java

https://www.jflex.de/

sudo zypper install jflex
  • License: BSD-3-Clause
  • Category: Development/Libraries/Java
  • Architecture: noarch
  • Source Package: jflex
  • 6 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Jflex
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: jflex from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

jflex-javadoc 1.9.1-1.6

API documentation for jflex

https://www.jflex.de/

sudo zypper install jflex-javadoc
  • License: BSD-3-Clause
  • Category: Development/Libraries/Java
  • Architecture: noarch
  • Source Package: jflex
  • 1 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Jflex
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: jflex-javadoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

jflex-maven-plugin 1.9.1-1.6

JFlex Maven Plugin

https://www.jflex.de/

sudo zypper install jflex-maven-plugin
  • License: BSD-3-Clause
  • Category: Development/Libraries/Java
  • Architecture: noarch
  • Source Package: jflex
  • 3 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Jflex
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: jflex-maven-plugin from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

jflex

sudo port install jflex
  • normalized package name match
  • Matched by: Jflex
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/jflex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation