title: 'Java' is not recognized as an internal or external command
body: <p>When trying to check the current version of Java in which I am running, I received the error &quot;java is not recognized as an internal or external command, operable program or batch file.&quot;.</p>
  <p>I am running Windows 7 OS and have downloaded the latest JDK and felt I may have accidentally deleted the java from machine as before I was able to check the Java version using the command &quot;java -version&quot;.</p>
  <p>What software must I download to get Java working on my machine again?</p>
  <p>EDIT:</p>
  <p>I have managed to get Java running from my cmd again after ensuring all environment variables pointed to the current Java SDK.</p>