aj Man page

aj General Commands Manual aj


aj, aj5 — command-line launchers for load-time weaving


aj [Options] [arg… ]

aj5 [Options] [arg … ]


The aj command runs Java programs in Java 1.4 or later by setting up
WeavingURLClassLoader as the system class loader, to do load-time byte‐
code weaving.

The aj5 command runs Java programs using AspectJ Java5 JVMTI agent to
do load-time bytecode weaving.

The arguments are the same as those used to launch the Java program.
Users should define the environment variables CLASSPATH and ASPECTPATH.