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 <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to