title: Change ANT's JDK in Netbeans 6.9
body: <p>Hope I can get a bit of help here.</p>
  
  <p>I am compiling some legacy code that was written for java 1.5.  It builds fine with Netbeans own ant build file, but not with the legacy build file.
  When I run the legacy Ant file it returns the following error:</p>
  
  <pre><code>is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement
  </code></pre>
  
  <p>And this requires Java 1.5 to compile.  I have already set source="1.5" target="1.5" in the javac tag in the ant script.
  I assume I need to run Ant in Netbeans to run under java 1.5. </p>
  
  <p>So how do I set the Ant to point to a different JDK when running in Netbeans 6.9?</p>