Maven UnsupportedClassVersionError Unsupported major.minor version 51.0 -


so installed maven using homebrew. seemed working fine. got error. tried uninstalling reinstalling maven. can't type mvn --version without getting error.

i've double checked using javac -version , java -version. i'm using 1.8.0_51.

that isn't problem.

any ideas?

maven doesn't use javac on path, uses java_home. execute mvn -v see java version used maven.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -