Hi,

> Mac OS X version 10.7.3
> java -version
> java version "1.6.0_31"
> 
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> (because required by project I want to build)
> 
> The project I want to build is:
> http://code.google.com/p/cmake-maven-project/source/browse/
> 
> The error I am getting when running mvn install is:
> 
> 
> [ERROR] Failure executing javac, but could not parse the error:
> javac: invalid target release: 1.7
> Usage: javac <options> <source files>
> use -help for a list of possible options
> 
> I can't upgrade to java 1.7 (if this is the cause of the error).

Yup. A compiler target 1.7 means Java 7 is needed for successful 
compilation.


> Are there
> other means to fix this?

Install Oracle's recently released Java 7 port for MacOS X on your machine 
:-)


HTH

Thorsten

Reply via email to