0

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?

Phonolog
  • 6,321
  • 3
  • 36
  • 64
Acheme Paul
  • 1,194
  • 15
  • 19

1 Answers1

11

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

Bilash
  • 151
  • 1
  • 3