title: ant and java 8 - "major version 52 is newer than 51, the highest major version supported by this compiler"
body: <p>I am trying to upgrade my ant project from java 7 to java 8.<br>
  (the project deployed in "Eclipse Kepler" with "Java™ 8 support to Eclipse Kepler SR2")</p>
  
  <p>For that i downloaded ant 1.9.4 ( according this post <a href="http://wiki.eclipse.org/Ant/Java8">http://wiki.eclipse.org/Ant/Java8</a>) , and configure it's as my "ant home". </p>
  
  <p>when i am trying to compile a got the following warning: 
  <code>
   "major version 52 is newer than 51, the highest major version supported by this compiler.
   [javac]   It is recommended that the compiler be upgraded." 
  </code></p>
  
  <p>But the compiler that defined for the workspace is 1.8. 
  (In the ant configuration it's define the compiler to be the same compiler of the work space..)   </p>
  
  <p>Any idea whats happened? </p>
  
  <p>Thanks a lot. </p>
  
  <p>Eyal </p>