You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Adams, Vernona" <ve...@lmco.com> on 2011/10/13 23:41:31 UTC

How to install MAVEN on Windows 7

What environment variables do I modify for Windows 7?  The  system does not recognize the "mvn -version" command.

Vernona Adams



Re: How to install MAVEN on Windows 7

Posted by Barrie Treloar <ba...@gmail.com>.
On Fri, Oct 14, 2011 at 8:11 AM, Adams, Vernona <ve...@lmco.com> wrote:
> What environment variables do I modify for Windows 7?  The  system does not recognize the "mvn -version" command.
>
> Vernona Adams

Did you read http://maven.apache.org/download.html "Installation Instructions"
I'm fairly sure that Windows 2000/XP work on Windows 7.

If you can't get the instructions to work, I recommend you find
someone in your company knowledgeable about installing software to
provide assistance and then get the documentation updated.

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


AW: How to install MAVEN on Windows 7

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
But if windows claims as in this case that the command is not known, 
then  the PATH does not know the .exe, .com or .bat making the command 
and maven has ./bin/mvn.bat
hence you have to add (as one points out previously %M2_HOME%\bin; to the PATH
and there best to the SYSTEM not the USER
Josef




-----Ursprüngliche Nachricht-----
Von: Eric Kolotyluk [mailto:eric.kolotyluk@gmail.com] 
Gesendet: Freitag, 14. Oktober 2011 18:58
An: users@maven.apache.org
Betreff: Re: How to install MAVEN on Windows 7

I use Maven on several Windows 7 systems and have had no real problems 
after setting up the environment variables properly. Other than that, 
Maven is just like any other Java application.

In particular make sure maven\bin is on your Path or Path2 environment 
variables. Do you know how to set those in Windows?

Cheers, Eric

Cheers, Eric

On 2011-10-13 7:23 PM, Wayne Fay wrote:
>> What environment variables do I modify for Windows 7?  The  system does
> not recognize the "mvn -version" command.
>
> What directions did you follow?
> What commands did you execute?
>
> I am aware of nothing special about installing on Win7. I think you simply
> skipped/missed a step or two in the documentation.
>
> Wayne
>

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


Re: How to install MAVEN on Windows 7

Posted by Eric Kolotyluk <er...@gmail.com>.
I use Maven on several Windows 7 systems and have had no real problems 
after setting up the environment variables properly. Other than that, 
Maven is just like any other Java application.

In particular make sure maven\bin is on your Path or Path2 environment 
variables. Do you know how to set those in Windows?

Cheers, Eric

Cheers, Eric

On 2011-10-13 7:23 PM, Wayne Fay wrote:
>> What environment variables do I modify for Windows 7?  The  system does
> not recognize the "mvn -version" command.
>
> What directions did you follow?
> What commands did you execute?
>
> I am aware of nothing special about installing on Win7. I think you simply
> skipped/missed a step or two in the documentation.
>
> Wayne
>

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


Re: How to install MAVEN on Windows 7

Posted by Alexandre Adao <al...@gmail.com>.
Try this on windows 7

1.Let's assume you unzip the apache-maven-3.0.3-bin.zip to
c:\apache-maven-3.0.3 directory

2. Click on Control Panel
3. click on System and Security
4. click on System
on the left  you should have Advanced systems settings.

5. click on Advanced systems settings.

6. click on Environment Variables.

Follow this instructions: http://maven.apache.org/download.html
on the installation instructions section. It says windows 2000/XP but
is the same for windows7

Make sure you add your maven installation path on the  Environment
Variable PATH VALUE.
example:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\apache-maven-3.0.3;C:\apache-maven-3.0.3\bin;C:\Program
Files\Java\jre7\bin;c:\openssl\bin

Take care and good luck!

--Alex Adao

On Thu, Oct 13, 2011 at 10:23 PM, Wayne Fay <wa...@gmail.com> wrote:
>> What environment variables do I modify for Windows 7?  The  system does
> not recognize the "mvn -version" command.
>
> What directions did you follow?
> What commands did you execute?
>
> I am aware of nothing special about installing on Win7. I think you simply
> skipped/missed a step or two in the documentation.
>
> Wayne
>

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


How to install MAVEN on Windows 7

Posted by Wayne Fay <wa...@gmail.com>.
> What environment variables do I modify for Windows 7?  The  system does
not recognize the "mvn -version" command.

What directions did you follow?
What commands did you execute?

I am aware of nothing special about installing on Win7. I think you simply
skipped/missed a step or two in the documentation.

Wayne