Categories:

Mac Java Home setup

Environment
Mac: Mojave 10.14.6
Java: JDK 8
JDK download : Oracle Java 8

Cordova issue

Check current installed Java version on your Mac

/usr/libexec/java_home -V

Java Virtual Machine location:

cd /Library/Java/JavaVirtualMachines/

Gradle not installed

Solution: Install Android Studio, create a blank Android project and it will automatically install latest Gradle on your Mac.