Liferay Builds with the ECJ Compiler and Ubuntu provides ecj compiler separately.
1. sudo apt-get install ecj
2. If you using ant of Ubuntu (sudo apt-get install ant)
3. You need to link ecj.jar to its directory
( If ecj.jar already in /usr/share/ant/lib/ecj.jar then first remove this )
sudo ln -s /usr/share/java/ecj.jar /usr/share/ant/lib/ecj.jar
1. sudo apt-get install ecj
2. If you using ant of Ubuntu (sudo apt-get install ant)
3. You need to link ecj.jar to its directory
( If ecj.jar already in /usr/share/ant/lib/ecj.jar then first remove this )
sudo ln -s /usr/share/java/ecj.jar /usr/share/ant/lib/ecj.jar
Comments
Post a Comment