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

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

Error: Requirements check failed for JDK 1.8 or greater

enter image description here

What can I do to resolve this error?

Solution #1:

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

Respondent: Bilash

The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Leave a Reply

Your email address will not be published.