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

前端 未结 27 2429
星月不相逢
星月不相逢 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:50

    In addition to Anand Gupta's answer, make sure no other java except for the one you need is used. Run which java (where java for Windows) and see which java executables are used. Just delete the ones you don't want to use and if the one you need is not present, add it to PATH.

提交回复
热议问题