make sure the tools.jar is in the classpath


On 8/1/05, Lance Arlaus <[EMAIL PROTECTED]> wrote:
> 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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
--
jesse mcconnell

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to