Failed to run JAVA even though path is set on Windows 8 Enterprise - Cordova

前端 未结 5 1337
死守一世寂寞
死守一世寂寞 2021-01-02 08:05

I have made a new Ionic / Cordova project and I\'m trying to build it on windows 8.1. I installed JDK and JRE 7 as well as android sdk and ant and added them to my path usin

5条回答
  •  耶瑟儿~
    2021-01-02 08:47

    There is one thing you can try is to set this variable JAVA_HOME to C:\Program Files\Java\jdk1.7.0_51\bin

    Since you are using Windows, you can go to Control Panel to update it.

    You were able to run java -version probably because it's included in the User's path.

提交回复
热议问题