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

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

    In my case (Windows 7 64-bit), I just did the following:

    • Removed the reference to C:\ProgramData\Oracle\Java\javapath; from the Path environment variable
    • Removed files java, javaw and javaws from the C:\Windows\System32 folder

    Afterwards, I closed all open command line consoles, reopened them and ran java -version.

提交回复
热议问题