Ok, sorry I didn't know...
The error I get is this one:

ERROR:M2_HOME is set to an invalid directory.
M2_HOME = C:\Program Files\apache-maven-2.2.1
Please set the M2_HOME variable in your enviroment to match the location
of the Maven installation


I will paste again my enviroment variables to make it clearer:

Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%ROO_HOME%\bin;%M2_HOME%\bin;
M2_HOME=C:\Program Files\apache-maven-2.2.1
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_18
ROO_HOME=C:\spring-roo-1.1.0.RC1

And the paths are rigth written, I mean, those directories exist.
Thank you again



El 21/11/10 22:39, Ron Wheeler escribió:
You do not say what your problem is.
No error messages?
No tests?

%JAVA_HOME%\bin is missing from your path but since you do not show any errors, it is hard to tell what your problem is.


Ron

On 21/11/2010 3:54 PM, Blanca Hernández wrote:


-------- Mensaje original --------
Asunto:     Problem M2_HOME variabla
Fecha:     Sun, 21 Nov 2010 21:08:12 +0100
De:     Blanca Hernández <blancahdezni...@gmail.com>
Para:     users-subscr...@maven.apache.org



Hello,

I am having this problem in the image:

even if in the path displayed is correct and exists. I tryed anyway to
change this variable and the files in `C:\\Program
Files\Java\apache-maven-2.2.1` or `C:\\Program
Files\Java\apache-maven-2.2.1\bin` or `C:\\Program
Files\apache-maven-2.2.1\bin` as I read in different forums.

My enviroment variables are set up as follow:


Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%ROO_HOME%\bin;%M2_HOME%\bin;
      M2_HOME=C:\Program Files\apache-maven-2.2.1
      JAVA_HOME=C:\Program Files\Java\jdk1.6.0_18
      ROO_HOME=C:\spring-roo-1.1.0.RC1

My OS is Windows 7
Must I do something extra?

Thanks in advance




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




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

Reply via email to