maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <>
Subject Re: [m2] Can't find Javac compiler
Date Tue, 02 Aug 2005 01:11:27 GMT
On 8/2/05, Lance Arlaus <> 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:
For additional commands, e-mail:

View raw message