After installing the Java 8 JDK on my Windows build server, I am executing the following error when running the sencha :
C:\> 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.
The Sencha Cmd manual assumes that Java 8 is not yet supported (however, Sencha Cmd works fine on my Mac OS X workstation with Java 8):
Sencha Cmd requires Java Runtime Environment version 1.7 to support all functions ...
I still have JDK 7 installed on the server. Is there a way to force Sencha Cmd to use a different JDK installation? Changing JAVA_HOME and PATH sysenvs does not work, and editing the registry is not an option.
UPDATE: I came across this question where several java.exe files cause the same error (and this is definitely an opportunity here) however maven, ant, tomcat, jenkins and many other Java tools work fine. I saw this error only with Sencha Cmd.
sherb source share