In Eclipse, do the following:
- Pull down the Windows menu
- Select Preferences
- Select Java
- Select Build Path
- Select Classpath Variables
- In the “Classpath Variables” dialog, click on New
- For Name: use: ASPECT_J_LIBS in the “New Variable Entry” dialog
- For Path: use: C:/AOP/aspectj/libs/ in the “New Variable Entry” dialog
- Click OK
- Click OK
Note, if you installed AspectJ somewhere else or used a different version, update the above entry accordingly.
Comments