Environment+Configuration+for+AspectJ

You'll need the Sun JDK, Eclipse and AspectJ to run these examples.

JDK
These examples require JDK 1.5.0 or later. They were written using JDK 1.5.0_06. I installed this using the defaults, so it is in C:\Program Files\Java\jdk1.5.0_06.

Download the Sun JDK from [|here] and install it.

Eclipse
These examples require Eclipse 3.x. They were written originally written using Eclipse 3.1.2. I noticed no problems switching to Eclipse 3.2. You can install Eclipse anywhere you wish, for these examples I installed Eclipse in c:\aop, which created c:\aop\eclipse.

Download Eclipse from [|here] and install it.

AspectJ
These examples require AspectJ 1.5. They were originally written using 1.5.1. For these examples, I unzipped the download into c:\aop\aspectj.

Download AspectJ [|here].

Eclipse Configuration for AspectJ
The following additional configuration sets will set your Eclipse configuration up the way I've set it up for all of these examples. You can click on individual links or just follow the Next--> link below:
 * Eclipse VM Configuration for AspectJ
 * Eclipse Classpath Variable for AspectJ
 * Eclipse Java Language Preferences for AspectJ
 * Eclipse Java Project Preferences for AspectJ
 * Save Workspace Configurations for AspectJ

Eclipse Project JAR Files

 * JAR Files for AspectJ

Using Provided Source Code in ZIP Files

 * ExtractingSourceFilesIntoProject

On to the examples

 * AspectJ Example 1
 * AspectJ Example 2
 * AspectJ Example 3
 * AspectJ Example 4

<--Back Next-->