Software⏱️ 2 min read📅 2026-05-31

How to Fix: Cordova : Requirements check failed for JDK 1.8 or greater

Cordova error with JDK 1.8 or greater

Quick Answer: Check if you have multiple Java versions installed, as Cordova requires a specific version.

Cordova requires JDK 1.8 or greater for Android builds, but you're using JDK 1.7 on Windows 7.

🛑 Root Causes of the Error

  • The Java Home variable is set to the JDK path, but it's not enough.

🔧 Proven Troubleshooting Steps

Method 1: Update JDK to 1.8 or greater

  1. Step 1: Download and install the latest version of Oracle JDK (or any other compatible JDK) from the official website.

Method 2: Use a different JDK version

  1. Step 1: Set the Java Home variable to point to the JDK version that's compatible with Cordova (check the documentation for more information).

🎯 Final Words

By following these steps, you should be able to resolve the 'Cordova: Requirements check failed for JDK 1.8 or greater' error and successfully build your Android project.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions