title: javac not found after set environment variable
body: <p>I am running on a Windows 7 machine.</p>
  
  <p>I installed Java jdk 1.7.</p>
  
  <p>I have set the Path and PATH environment variable to point to the Java jdk 1.7/bin directory. </p>
  
  <p>Executing <code>java -version</code> in the command prompt yields Java version 1.7.0_45.</p>
  
  <p>However when I execute <code>javac</code> it says that:</p>
  
  <blockquote>
    <p>javac is not recognized as an internal or external command</p>
  </blockquote>
  
  <p>I am really stumped on this problem.  All other threads seem to get similar issues resolved via changing the environment variable but this is not solving my problem in this situation.</p>
  
  <h2>Edit</h2>
  
  <p>When I run <code>java -version</code> in Console2 it says that the currently used version of Java is 1.6 and I am not sure why this is the case. </p>