title: java.exe is not recognized as an internal or external command operable program or batch file when java is added to path
body: <p>I am trying to input "build clean build deploy" on the command line but I'm getting the following error : java.exe is not recognized as an internal or external command operable program or batch file</p>
  
  <p>I have added Java and Ant to my path, the command "Java -version" produces the version number so I know it has been correctly added to path. What is causing my error?</p>