macOS
brew install aspectjlocal Homebrew formula metadata
sudo port install aspectjMacPorts ports tree · java/aspectj/Portfile · source: api.github.com
brew
Aspect-oriented programming for Java. Version 1.9.25.1 via Homebrew; verified from local package data.
install
brew install aspectjlocal Homebrew formula metadata
sudo port install aspectjMacPorts ports tree · java/aspectj/Portfile · source: api.github.com
sudo apt install aspectjDebian stable package indexes · aspectj · source: deb.debian.org
nix profile install nixpkgs#aspectjnixpkgs package indexes · pkgs/by-name/as/aspectj/package.nix · source: api.github.com
overview
Aspect-oriented programming for Java
history
Eclipse AspectJ is the long-running aspect-oriented extension to Java, shipped as a compiler, weaver, runtime, documentation set, and Maven artifacts. It is both a language experiment that became production tooling and a package-manager artifact that gives users command-line programs such as `ajc`, `ajdoc`, and `aj`.
The current Eclipse project page describes AspectJ as a seamless aspect-oriented extension to the Java programming language. The official change history carries copyright from Palo Alto Research Center for 1998-2002, reflecting the project's pre-Eclipse PARC origins, and documents alpha, beta, release-candidate, and 1.0.0 milestones before the later Eclipse-hosted release stream.
AspectJ's artifacts are divided into runtime, weaver, tools/compiler, and matcher modules. The repository README says these are published to Maven Central under the `org.aspectj` group ID and that an installer can install AspectJ on Windows, macOS, and Linux.
The release history tracks AspectJ alongside Java itself. AspectJ 1.8.0 added Java 8 compilation support in 2014, and AspectJ 1.9.0 targeted Java 9 modules in 2018. The latest documentation index also tracks ongoing Java version compatibility, release notes, runtime API, weaver API, and problem-diagnosis docs.
AspectJ became a fixture of Java build and framework culture because it could modularize cross-cutting concerns such as logging, monitoring, error handling, synchronization, and policy checks. It is consumed directly through `ajc` and indirectly through weaver/runtime jars, Maven coordinates, Ant tasks, and integration with IDE tooling.
The Homebrew input records AspectJ in Homebrew, Debian, MacPorts, Nix, and Ubuntu. That is unusually broad for a language extension and reflects its use both as a CLI compiler package and as a set of Java build artifacts.
Package users normally reach AspectJ through `ajc` for source compilation and weaving, `ajdoc` for documentation, the runtime jar for woven code, and the weaver jar for binary or load-time weaving. The developer guide documents the command-line compiler and Ant task support, while the programming guide teaches join points, pointcuts, advice, inter-type declarations, idioms, and pitfalls.
In modern Java builds, AspectJ is also often used as Maven artifacts: `aspectjrt`, `aspectjweaver`, `aspectjtools`, and `aspectjmatcher`. That dual distribution story is why it appears both in language-runtime dependency graphs and OS package managers.
AspectJ is significant because it is not just a compiler package: it changes the bytecode and runtime shape of Java programs. Package upgrades can affect source compatibility, woven class files, Java language-level support, Maven artifacts, and build plugins.
For package nerds, it is a classic example of a language tool whose OS package, Maven coordinates, IDE integration, Ant tasks, and documentation all have to stay aligned with the Java release train.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
aj | cli | global executable | |
aj5 | cli | global executable | |
ajc | cli | global executable | |
ajdoc | cli | global executable |
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.
https://github.com/eclipse-aspectj/aspectj
install metadata
| Package key | brew:aspectj |
|---|---|
| Version | 1.9.25.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/aspectj |
| Homepage | https://eclipse.dev/aspectj/ |
| Repository | https://github.com/eclipse-aspectj/aspectj |
| Upstream docs | https://eclipse.dev/aspectj |
| License | EPL-2.0 |
| Source archive | https://github.com/eclipse-aspectj/aspectj/releases/download/V1_9_25_1/aspectj-1.9.25.1.jar |
| Dependencies | openjdk |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aspectj |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
aspectj 1.9.6-1
aspect-oriented extension for Java - tools
sudo apt install aspectjaspectj-doc 1.9.6-1
aspect-oriented extension for Java - documentation
sudo apt install aspectj-doclibaspectj-java 1.9.6-1
aspect-oriented extension for Java - library
sudo apt install libaspectj-javaaspectj
nix profile install nixpkgs#aspectjaspectj 1.9.5-2
aspect-oriented extension for Java - tools
https://www.eclipse.org/aspectj
sudo apt install aspectjaspectj-doc 1.9.5-2
aspect-oriented extension for Java - documentation
https://www.eclipse.org/aspectj
sudo apt install aspectj-doclibaspectj-java 1.9.5-2
aspect-oriented extension for Java - library
https://www.eclipse.org/aspectj
sudo apt install libaspectj-javaaspectj
sudo port install aspectjsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.