Cordova error: Requirements check failed for JDK 1.8 or greater — am using java 9 [duplicate]

一笑奈何 提交于 2019-12-12 04:09:26

问题


While trying to build an android apk with cordova, I get the following error:

Error: Requirements check failed for JDK 1.8 or greater

What can I do to resolve this error?


回答1:


Uninstall jdk 9 and then install jdk 8. Maybe cordova is not able to detect jdk9>jdk1.8



来源:https://stackoverflow.com/questions/46379406/cordova-error-requirements-check-failed-for-jdk-1-8-or-greater-am-using-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!