When you see something like the below, what do you do?
is newer than
, the highest major version supported by
Simply go update your JDK.
Also check that your JAVA_HOME is set correctly in your ~/.bash_profile:
Don’t forget to close your terminal or at least source ~/.bash_profile once you change it!