This plugin attempts to convince Cordova to compile against Java 8 instead of Java 5 on Java platforms.
Do only install if you need Java 8 and know why you need Java 8, this is NOT an update for the compiler
cordova plugin add https://github.com/sw2dev/cordova-plugin-java8.git --link