title: Sencha Cmd 5 + Java 8 Error
body: <p>After installing Java 8 JDK on my Windows build server, I'm running into the following error when executing the <code>sencha</code> command:</p>
  
  <pre><code>C:\&gt; sencha
  
  Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
  has value '1.8', but '1.7' is required.
  Error: could not find java.dll
  Error: Could not find Java SE Runtime Environment.
  </code></pre>
  
  <p>The Sencha Cmd Guide implies that Java 8 isn't supported yet (however Sencha Cmd works fine on my Mac OS X workstation with Java 8):  </p>
  
  <blockquote>
    <p>Sencha Cmd requires Java Runtime Environment version 1.7 to support
    all functionality...</p>
  </blockquote>
  
  <p>I've still got JDK 7 installed on the server. Is there any way to force Sencha Cmd to use a different JDK install? Changing JAVA_HOME and PATH sysenvs does not work, and editing the registry isn't an option.</p>
  
  <p><strong>UPDATE:</strong> I've run across <a href="https://stackoverflow.com/questions/15277496/registry-key-has-value-1-7-but-1-6-is-required-java-1-7-is-installed">this question</a> where multiple <code>java.exe</code> files cause the same error (and that's definitely a possibility here) however maven, ant, tomcat, jenkins, and a slew of other Java tools are working fine. I've only seen this error with Sencha Cmd.</p>