/proj/demsys/demjava/bin
to your PATH environment
variable .software
file. PATH=/proj/demsys/demjava/bin
.software
file then you have
to append the above directory to your PATH variable in your shell's
initialization file.
The following commands are now available on your shell
> ajc1.2 -version
The command should reply with the following:
AspectJ Compiler 1.2.1 built on Friday Nov 5, 2004 at 12:30:41 GMT
ajc1.2 *.java
To run bytecode that you have compiled with ajc1.2 type
aj1.2 Main
To run AspectJ 5 follow the steps above replacing ajc1.2 with ajc5 and aj1.2 with aj5.
For information on compiler options as well as AspectJ in general visit The AspectJ Web Page
If you want to be more adventurous, use AspectJ 1.5 which supports generics and annotations. This version is not stable yet.