Versions Compared

Key

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

...

Unzip this file in the directory where you want to install Maven by moving the zip file there, right clicking on it, and selecting Extract Here.

Now add the The MAVEN_HOME variable and make its value point to this directory by copying it out of the Explorer address bar.needs to be set. Under the Start menu, open Control Panel under Settings. Now double click on the System icon. Go to the Advanced tab. Click Environment Variables. Under the System variables box click New. Now enter the path to maven by going to the directory in Explorer and copying it into the Variable value box. In the Variable name box type MAVEN_HOME. Click OK.

Add Maven's bin directory to the Path by find the variable called Path in the System variables box. Select this line and then click Edit. Hit the End key to go to the end of this variable. Type the ; character, which is the path separator, and then paste the value %MAVEN_HOME%\bin. Make sure not to overwrite the paths that are already there, or you could really mess up your system. Click OK.

Info
titleAdding an environment variable on Windows

Read this support page if you are unsure how to add environment variables on Windows.

Now add the value %MAVEN_HOME%/bin to the Windows path.

If you don't know how to add to the Windows system path, read this help page under Setting Path on Windows.

Click on Run in the Start menu. Open a command window by hitting ctrl-R and then typing cmd in the box and hitting enter Enter. In the command window that pops up, type mvn and enter. Maven should bootstrap itself if you have setup everything correctly. If the command is not found, check that the Path variable contains %MAVEN_HOME%/bin.

Setup Netbeans

Go to ?Netbeans Downloads and get the Java version.

...