While running
sencha app build production
I am getting the following error:
Error: Registry key \'Software\\JavaSof
I've had the same problem. Simple solution that worked for me is to rearrange the entries in the PATH
for JRE/JDK
. This problem started to appear after installing JRE 8
whose installation has put some executable files in System32 or SysWOW64
directories, these executable files are messing up. To resolve the problem:
Create environment variable pointing to JDK home as JAVA_HOME
.
set JAVA_HOME=C:\Progra~1\Java\jdk1.8.0_45
Put the entry %JAVA_HOME%\bin
at start in your PATH environment variable. Appending existing value of PATH
. For example:
path=C:\Program Files\Java\jdk1.8.0_45\bin;%path%