title: JAVA_HOME points to the wrong place
body: <p>I seem to have an incorrectly specified JAVA_HOME variable. I can get around it for many things but now I am seem to be stuck. I am trying to use the Google App Engine and upload an application.</p>
  
  <p>When I do so I get the error that the error:</p>
  
  <blockquote>
    <p>cannot find javac executable based on java.home, tried "C:\Program Files\Java\jre6\bin\javac.exe" and "C:\Program Files\Java\bin\javac.exe"</p>
  </blockquote>
  
  <p>I don't understand why it is looking there, doing echo %JAVA_HOME% gives me:</p>
  
  <blockquote>
    <p>C:\Program Files\Java\jdk1.6.0_14</p>
  </blockquote>
  
  <p>Which is where Java actually is. I am thinking my best hope might be to just put Java where it is looking for it - can you think of anything better.</p>