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

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

    In my case, i had multiple java instalations, and whenever i tried to print "echo %java_home%" command on command prompt, it always used to return "%java_home%" as it is.

    So i uninstalled all the java versions and then installed it again, and whoola, it worked.

    Hope this helps someone.

提交回复
热议问题