Cordova error: Requirements check failed for JDK 1.8 or greater — am using java 9 [duplicate]
问题 This question already has answers here : Cordova : Requirements check failed for JDK 1.8 or greater (30 answers) Closed 2 years ago . 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 jdk 9 >jdk 1.8 来源: https://stackoverflow.com/questions/46379406/cordova-error-requirements-check-failed-for-jdk