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

前端 未结 5 1336
死守一世寂寞
死守一世寂寞 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:48

    After I ran into the same issue, the following steps seems to have fixed it:

    • PATH needs to contain the bin folder of the Java installation path C:\Program Files\Java\jdk1.8.0_05\bin make sure the bin is included
    • JAVA_HOME needs to be set to the root of that Java installation folder, in my case C:\Program Files\Java\jdk1.8.0_05

提交回复
热议问题