macOS
brew install aspectjlocal Homebrew formula metadata
sudo port install aspectjMacPorts ports tree · java/aspectj/Portfile · source: api.github.com
brew / rank 6475
Aspect-oriented programming for Java. Version 1.9.25.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install aspectj.
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 | executable | indexed executable | Discovered from the local executable index. |
aj5 | executable | indexed executable | Discovered from the local executable index. |
ajc | executable | indexed executable | Discovered from the local executable index. |
ajdoc | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:aspectj |
|---|---|
| Version | 1.9.25.1 |
| Package manager | Homebrew |
| Homepage | https://eclipse.dev/aspectj/ |
| Repository | https://github.com/eclipse-aspectj/aspectj |
| Bottle | not recorded |
| Service | none declared |
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.