You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2011/12/01 16:21:40 UTC

[jira] Closed: (MNGSITE-146) Installation Instructions don't work for Windows

     [ https://jira.codehaus.org/browse/MNGSITE-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MNGSITE-146.
-----------------------------------

    Resolution: Not A Bug

You seem to have downloaded the source distribution. Try with the binary distribution instead.

> Installation Instructions don't work for Windows
> ------------------------------------------------
>
>                 Key: MNGSITE-146
>                 URL: https://jira.codehaus.org/browse/MNGSITE-146
>             Project: Maven Project Web Site
>          Issue Type: Bug
>         Environment: Windows 7
>            Reporter: Jim Goodwin
>            Priority: Minor
>
> Step 3 of the Installation Instructions on this page http://maven.apache.org/download.html say to add %M2_HOME%\bin directory to the PATH environment variable.  There is no %M2_HOME%\bin directory. For example, when I extracted the downloaded archive, I extracted it to c:\apache-maven-3.0.3. That is supposed to be path for M2_HOME, however there is no \bin directory under that path. There is a \bin directory under c:\apache-maven-3.0.3\apache-maven.
> The end result is that running the mvn command results in "'mvn' is not recognized as an internal or external command, operable program or batch file."
> Here is the content of my M2_HOME environment variable: 
> C:\apache-maven-3.0.3>echo %M2_HOME%
> C:\apache-maven-3.0.3
> Here is the content of my PATH environment variable:
> C:\apache-maven-3.0.3>echo %PATH%
> C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\IntelWiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\TortoiseSVN\bin;C:\apache-ant-1.8.2\bin;C:\IBM\SDP\runtimes\base_v7\java\bin;C:\apache-maven-3.0.3\bin
> Following step 7 of the instructions results in:
> C:\apache-maven-3.0.3>mvn --version
> 'mvn' is not recognized as an internal or external command, operable program or batch file.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira