Cordova Android Run/build Error - Requirements Check Failed For Jdk 1.8
I have built my cordova app and getting 'Requirements check failed for JDK 1.8' error message. Uninstalling all java and installing jdk 1.8 not solved my problem. D:\xampp\htdocs\
Solution 1:
You might have installed more than one Java (binaries) on your system. First of all, check this, by executing where java command in your cmd.exe (command line).
- Most likely, you will see more than one
java.exeinstalled, and if so, this may be the reason, despite installing new Java, your system still provides one more other version of it; - Even if you have set your
%JAVA_HOME%environment variable accordingly, there might be anotherjava.exeavailable in your environment, either because of having some other Java binaries' bin folder added in the System variables' (under Environment Variables)Pathvariable, or because of having it at some other place, which is also available through any other environment variable (for instance: System32 on Windows).
Check where java and see your Path environment variable under the System Variables.


Post a Comment for "Cordova Android Run/build Error - Requirements Check Failed For Jdk 1.8"