é necesario instalar java na version 8 https://www.oracle.com/br/java/technologies/javase/javase8-archive-downloads.html
$ brew install java