Downgrade your JavaDK from 9 to 1.8:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Cordova does not understand the new versioning of java. They thought they were future proof, but did not expect new versioning:
// Let's check for at least Java 8, and keep it future proof so we can support Java 10
var match = /javac ((?:1\.)(?:[8-9]\.)(?:\d+))|((?:1\.)(?:[1-9]\d+\.)(?:\d+))/i.exec(output);