problem in ant build
[javac] Compiling 86 source files to F:\\XXX\\classes [javac] javac: invalid target release: 1.6 [javac] Usage: javac
Also, you can right-click on your project in your Ant view and choose Run As... > External Tools Configuration... In the JRE tab, select the correct Runtime JRE.