aj(1)

✨ aj, aj5 πŸŽ€ β€” the launcher duo πŸ’–

okay so bestie, this page is about aj and aj5 πŸ¦‹ β€” two command-line launchers that run Java programs with load-time weaving (aka the AspectJ magic happening right as classes get loaded) πŸ”₯. no cap, it's giving main character energy πŸ’…


🌸 NAME 🌸

aj, aj5 β€” command-line launchers for load-time weaving 🧚


πŸ’œ SYNOPSIS πŸ’œ

aj [Options]  [arg... ]

aj5 [Options]  [arg ... ]

πŸ“ DESCRIPTION πŸ“

okay so the aj command runs Java programs in Java 1.4 or later πŸ’– it does this by setting up WeavingURLClassLoader as the system class loader, and that's how the load-time bytecode weaving gets done ✨ lowkey iconic πŸ‘‘

the aj5 command runs Java programs too, but this time it uses the AspectJ Java5 JVMTI agent to do the load-time bytecode weaving πŸ¦‹ ngl the way that it works is so cool 🫢

the arguments you pass in are the same ones you'd use to launch the Java program itself 🌈 and bestie, you should define the environment variables CLASSPATH and ASPECTPATH before you do anything else πŸ™ˆπŸ’…


aj(1) 🌸 sent with love from the General Commands Manual πŸ’– stay iconic, bestie 🫢✨