title: Error when checking Java version: could not find java.dll
body: <p><strong>why do I get this? How can I fix it?</strong></p>
  
  <pre><code>C:\Users\ash&gt;java version
  Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
  has value '1.7.0_01', but '1.7' is required.
  Error: could not find java.dll
  Error: Could not find Java SE Runtime Environment.
  </code></pre>