You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Apache Wiki <wi...@apache.org> on 2006/01/20 16:42:16 UTC

[Maven Wiki] Update of "M2UserDocs/033Maven2Installation" by cseg

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Maven Wiki" for change notification.

The following page has been changed by cseg:
http://wiki.apache.org/maven/M2UserDocs/033Maven2Installation

New page:
#format wiki
#language en
#pragma section-numbers off
[[Navigation(slides)]]
= Installing Maven2, Part 4: Testing Your Installation =

To test your installation, open a command window:
 * Start -> All Programs -> Accessories -> Command Prompt

Type '''mvn --version''' at the command prompt.  You should see output that looks like this:
{{{
C:\> mvn --version
Maven version: 2.n.n
}}}

== Troubleshooting ==

1. If you do not get the response shown above, first try typing the full path to the mvn file:

   * '''C:\path\to\your\extraction\location\maven-2.n.n\bin\mvn --version'''
   * You should get the response shown above.
   * Repeat the above step until you can successfully identify the exact path to maven '''bin''' directory.

1. Re-configure your PATH environmental variable as described previously using the correct value determined above.

   * Close your command window and reopen a new one after changing your PATH.
   * Retest as described above.

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