While running
sencha app build production
I am getting the following error:
Error: Registry key \'Software\\JavaSof
My System:- Windows 8.1
Java Environments
I recently installed Oracle 11g XE and I received the mentioned error message when accessed "java" command at command prompt.
I checked my environment variables, checked the sequence (as mentioned by previous replies) and detected that my system PATH variable had following entry as first entry:
C:\OracleDatabase\oraclexe\app\oracle\product\11.2.0\server\bin;
I changed the sequence and defined JDK path as first entry:
I replicated the same change to User Variable: Path
After finishing the above activity, I restarted the command prompt and executed java -version command and the problem had vanished. It displayed Java 8 as the current version.