title: Run Ant on Eclipse Mars with Java 1.6
body: <p>I downloaded the latest release of Eclipse (Mars) and changed the required Java version to 1.6 in eclipse.ini file as my project uses Java 1.6.</p>
  
  <p>I configured installed JREs inside Eclipse to use Java 1.6.
  But when I try to execute my ant target it creates an error: </p>
  
  <blockquote>
    <p>JRE version less than 1.7 is not supported.</p>
  </blockquote>
  
  <p>Is there any workaround to use Java 1.6 in Mars version as I'm unable to upgrade to Java 1.7 at the moment?</p>