Thursday, October 16, 2014

Failed to execute goal maven-compiler-plugin:2.5.1:compile (default-compile) javac: invalid target release: 1.7

http://dhruba.name/2008/12/22/compiling-java-16-projects-using-maven-on-mac-os-x/

The reason is that the following environment variable isn’t set by default.
export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home"






No comments:

Post a Comment