Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Click "New" to add a new variable.

Environment Variable Menu

Image Added

After installation, also set the MAVEN_HOME variable to point to the base installation area.

My installation dir is C:\work\maven.

Click on the "New" button under the "System Variables" box.

Copy the value from the Explorer bar into the new variable.

Image Added

Now, you should be able to use maven from the command line.