Fork me on GitHub

Project Lombok - ecj instructions

Feature Overview Discuss / Help Contribute Report an issue
Download!
Version: @VERSION@ | changelog
ecj (the eclipse standalone compiler) is compatible with lombok. Use the following command line to enable lombok with ecj:

java -javaagent:lombok.jar=ECJ -Xbootclasspath/p:lombok.jar -jar ecj.jar -cp lombok.jar (rest of arguments)
If you're using a tool based on ecj, adding these VM arguments and adding lombok.jar to the classpath should work.