title: "java -version" not working in command prompt
body: <p>I downloaded this <a href="http://java.sun.com/javase/downloads/index.jsp" rel="noreferrer">Java JDK</a> and installed it.</p>
  
  <p>But when I go to the command prompt to check the version, it says it's not recognized.</p>
  
  <p>Is anyone else experiencing this issue with the latest Java?</p>
  
  <p>I might not have installed the right version. I need the java that works with <a href="http://www.grails.org/Installation" rel="noreferrer">grails</a></p>
  
  <pre><code>C:\&gt;java
  'java' is not recognized as an internal or external command,
  operable program or batch file.
  
  C:\&gt;java -version
  'java' is not recognized as an internal or external command,
  operable program or batch file.
  
  C:\&gt;
  </code></pre>
  
  <p>when i do a search on my computer for java, it does not find anything</p>