title: How can I set the JDK NetBeans runs on?
body: <p>I have the older NetBeans 6.7, NetBeans 6.9, and NetBeans 7.0, which used to run on jdk1.6.0_21 and jdk1.6.0_25. Now I've removed those JDKs and only have jdk1.6.0_26 and jdk1.7.0 left, but I still want to keep the older versions of NetBeans, but now when I run them, I get this message:</p>
  <blockquote>
  <p>&quot;Cannot locate java installation in specified jdkhome C:\Program Files (x86)\Java\jdk1.6.0_25 <br />
  Do you want to try to use default version?&quot;</p>
  </blockquote>
  <p>I tried to find where it's looking for the &quot;jdk1.6.0_25&quot;, and updated a few configuration files in &quot;C:\Program Files (x86)\NetBeans 6.7&quot; and &quot;C:\Users\USER.nbi\registry.xml&quot;, and yet the message keeps coming. Where and what do I need to change to point it to <code>C:\Program Files (x86)\Java\jdk1.6.0_26</code>?</p>