maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <ljnel...@gmail.com>
Subject Re: No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Date Tue, 14 May 2013 03:41:38 GMT
On Mon, May 13, 2013 at 7:53 AM, Corin Lawson <corin.lawson@gmail.com>wrote:

> $ echo $JAVA_HOME
> /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home
>

Look at what that ends with.


> $ mvn --version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 19:44:56+1100)
> Maven home: /usr/share/maven
> Java version: 1.7.0_21, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre
>

Look at what that ends with.

(I don't know why that's the case.)

Hope that helps you out.

Best,
Laird

-- 
http://about.me/lairdnelson

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message