Lombok only works on javac 1.6. 1.5 does not support the annotation
processing API (well, it kind of does, with specific command line
switches, but that API is very different, and javac went through a
complete rewrite in any case).
Mac does have javac 1.6 - had it for over a year now. Just run
software update. Possibly your system is not setup to use 1.6 by
default - mess around with the java setting app in /Applications/
utilities, or just run /System/Library/Frameworks/JavaVM.Framework/
Versions/1.6/Commands/javac
If you're on a pre-intel mac, or one of the very first without 64-bit
support, then apple's VM indeed is stuck at 1.5. you'll need to
download soylatte:
http://landonf.bikemonkey.org/static/soylatte/ -
and use that javac. Lombok works fine with that.
On Aug 28, 5:42 am, Michael Lorton <
mich...@circuspop.com> wrote:
> It's a Mac -- no 1.6.
>
> $ java -version
> java version "1.5.0_19"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)
> Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)
>
> M.
>