maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: [m2] Can't find Javac compiler
Date Tue, 02 Aug 2005 01:11:27 GMT
On 8/2/05, Lance Arlaus <lance.arlaus@codeberet.com> wrote:
> "Unable to locate the Javac compiler"

If this is all you get, it might be an old version - what version of
m2/the compiler plugin are you using?

> I'm running under cygwin with my My JAVA_HOME set (and exported) as
> 'c:\java\jdk1.5'

Sounds right. Try running a small class that echoes the java.home
system property.
The code looks for the existence of ${java.home}/../lib/tools.jar

> BTW- It would be nice if the plugin output the contents of the JAVA_HOME
> variable on failure

Updated the code so it does this next release. Thanks.

- Brett

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


Mime
View raw message