title: Java.exe not found on Windows command prompt
body: <p>Installed Java 1.7 on Windows Server 2008. In Cygwin I can clearly see that <code>"which java.exe"</code> returns c:\Windows\System32\ even running "java -version" returns 1.7. But on Windows command prompt and/or Powershell it complains it is not a recognized internal or external command. </p>
  
  <p>Nor I can see the file in Windows explorer in the above mentioned path. Even after changing folder options in Windows explorer.</p>
  
  <p>The Java version installed is 64-bit on Windows Server 2008. It is a ditto behavior on Window 7 as well.</p>
  
  <p>Does anyone know how to fix this issue? </p>
  
  <p>Thank you in advance for any help.</p>
  
  <p>-RG</p>