Renato Dinhani
Renato Dinhani

Reputation: 36696

AspectJ works with Java 7?

I instaled AspectJ in Eclipse (AJDT), but the specific methods of Java 7 are marked as errors when I use the AspectJ project.

My doubt is if AspectJ works with Java 7 or this is an issue with Eclipse or AJDT.

EDIT: The problem is AJDT that doesn't support AspectJ for Java 7 yet. There is some IDE to AspectJ that supports?

Upvotes: 2

Views: 3129

Answers (3)

Andrew Eisenberg
Andrew Eisenberg

Reputation: 28757

You should install the snapshot version of the AspectJ Development Tools (AJDT) from this update site:

http://download.eclipse.org/tools/ajdt/37/dev/update

Upvotes: 0

MarioDS
MarioDS

Reputation: 13063

From the aspectJ webpage:

"AspectJ 1.7.0.M1 is now available for download. See the readme for more information. This is our first Java7 compiler based milestone." so it should work. Did you search at all?

Upvotes: 0

Matt Ball
Matt Ball

Reputation: 359816

You need AspectJ 1.7.0 M1 (or higher) for Java 7 compatibility. http://www.eclipse.org/aspectj/doc/released/README-170.html

Upvotes: 2

Related Questions