maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Nordal <kristian.nor...@gmail.com>
Subject Re: [m2] Can't find Javac compiler
Date Mon, 01 Aug 2005 17:51:45 GMT
On Aug 1, 2005, at 7:48 PM, Lance Arlaus wrote:

> I'm getting the following error while trying to run m2 on the  
> sample getting
> started project structure:
>
>
>
> "Unable to locate the Javac compiler"
>
>
>
> I'm running under cygwin with my My JAVA_HOME set (and exported) as
> 'c:\java\jdk1.5'
>
> Running the clean plugin works fine.
>
>
>
> Thoughts?
>

Try adding $JAVA_HOME/bin to PATH (and export it)

--
Kristian

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


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


Mime
View raw message