When you see something like the below, what do you do?

major version 51 is newer than 50, the highest major version supported by this compiler.

Simply go update your JDK.
Also check that your JAVA_HOME is set correctly in your ~/.bash_profile:

export JAVA_HOME=$(/usr/libexec/java_home)

Don’t forget to close your terminal or at least source ~/.bash_profile once you change it!

 

SEE OUR JOB OPENINGS
 Metova |   All Rights Reserved