Cygwin offers a wealth of functionality (unix utils and shell scripting) not available via a Win command prompt.
However, I have tried to run maven under a command prompt with the same results. -----Original Message----- From: Marc Attiyeh [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 2:05 PM To: Maven Users List Subject: RE: [m2] Can't find Javac compiler Why are you running maven using the cygwin prompt? What's wrong with the windows command prompt? -----Original Message----- From: Lance Arlaus [mailto:[EMAIL PROTECTED] Sent: Monday, August 01, 2005 2:01 PM To: 'Maven Users List' Subject: RE: [m2] Can't find Javac compiler 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] --------------------------------------------------------------------- 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]
