maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Arlaus" <lance.arl...@codeberet.com>
Subject RE: [m2] Can't find Javac compiler
Date Mon, 01 Aug 2005 18:01:08 GMT
The bin directory is already on the path (I can run javac fine from the
command line).

Cygwin automatically translates path entries into its own path structure
(i.e. c:\root becomes /cygdrive/c/root), so I even tried prepending the bin
directory to the path in Windows format (c:\java\jdk1.5), but still no luck.

Any other suggestions?

-----Original Message-----
From: Kristian Nordal [mailto:kristian.nordal@gmail.com] 
Sent: Monday, August 01, 2005 1:52 PM
To: Maven Users List
Subject: Re: [m2] Can't find Javac compiler

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



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


Mime
View raw message