maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From angisad <zoum...@hotmail.com>
Subject Re: Compilation failure with Maven
Date Sun, 18 Apr 2010 17:34:22 GMT

Oh thx 
I changed JAVA_HOME to c:\progra~1\java\jdk1.6.0_20 and it worked 

thx again :jumping:


Tim O'Brien wrote:
> 
> This is because of the space in your JAVA_HOME.   You should use
> quotes, or use a a JAVA_HOME that truncates the "Program Files", like
> this: set JAVA_HOME=c:\progra~1\java\jdk1.6.0_20
> 
> On Sun, Apr 18, 2010 at 12:09 PM, angisad <zoum_me@hotmail.com> wrote:
>>
>> Hi,
>> I am a newbie and I am trying to compile a code source that I've
>> downloaded
>> from the Internet.
>> But I always get this message:
>>
>> [INFO] -------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] -------------------------------------------------------------
>> [INFO] Compilation failure
>> Failure executing javac, but could not parse the error:
>> 'C:\Program' n'est pas reconnu en tant que commande interne
>> ou externe, un programme exécutable ou un fichier de commandes.
>>
>> ( 'C:\Program' is not recognizied as an internal command or external, an
>> executable program or a commands file)
>>
>> I looked in some forums, they suggested to check Java_Home and Path. But
>> they are both fine
>> :-)
>>
>> JAVA_HOME=C:\Program Files\Java\jdk1.6.0_20
>> Path=C:\Program Files\Java\jdk1.6.0_20\bin\
>>
>>
>> Can anyone tell me what to do?
>> Maven version 2.2.1
>> --
>> View this message in context:
>> http://old.nabble.com/Compilation-failure-with-Maven-tp28283585p28283585.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Compilation-failure-with-Maven-tp28283585p28283771.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Mime
View raw message