Registry key Error: Java version has value '1.8', but '1.7' is required

前端 未结 27 2427
星月不相逢
星月不相逢 2020-11-30 20:30

While running

sencha app build production

I am getting the following error:

Error: Registry key \'Software\\JavaSof

27条回答
  •  粉色の甜心
    2020-11-30 20:51

    After the latest automatic Java update, I could not run Java from the command prompt.

    My path variable had 'C:\ProgramData\Oracle\Java\javapath;'

    I could not cd into 'C:\ProgramData\Oracle\Java\javapath;' from the command prompt window, since it did not exist.

    I removed C:\ProgramData\Oracle\Java\javapath;' from the path variable and replaced it with 'C:\Program Files\Java\jre1.8.0_141\bin;'

提交回复
热议问题