maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Corin Lawson <corin.law...@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 13:56:24 GMT
Thanks Stephen,

At least it's looking more like something I can fix in my environment and not a problem with
maven! I don't suppose someone could try using the latest update of JDK 1.7 for me? Otherwise
I'll try 1.7u21, when I get a chance.

On 14/05/2013, at 10:48 PM, Stephen Connolly <stephen.alan.connolly@gmail.com> wrote:

> Not an issue for me:
> 
> $ mvn -version
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
> 13:51:28+0000)
> Maven home: /usr/share/java/maven-3.0.5
> Java version: 1.7.0_21, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"
> 
> And I am building quite a lot with Maven every day!
> 
> 
> On 14 May 2013 13:41, Jörg Schaible <Joerg.Schaible@scalaris.com> wrote:
> 
>> Wayne Fay wrote:
>> 
>>>>> $ echo $JAVA_HOME
>>>>> /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home
>>> ...
>>>>> $ 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
>>> 
>>> FWIW this is what I get on my wife's MBP with 3.0.3 and JDK6:
>>> $ mvn --version
>>> Apache Maven 3.0.3 (r1075438; 2011-02-28 11:31:09-0600)
>>> Maven home: /usr/share/maven
>>> Java version: 1.6.0_45, vendor: Apple Inc.
>>> Java home:
>>> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>>> 
>>> Definitely think the /jre is your problem. Unsure what to do about it.
>> 
>> Well, on Linux this is normal:
>> 
>> ============ %< =============
>> $ mvn --version
>> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
>> 14:51:28+0100)
>> Maven home: /usr/share/maven-bin-3.0
>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>> Java home: /opt/sun-jdk-1.6.0.45/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "linux", version: "3.7.10-gentoo-r1", arch: "amd64", family:
>> "unix"
>> ============ %< =============
>> 
>> - Jörg
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message