...
My installation dir is C:\work\maven.
Copy the value from the Explorer bar into the new variable, by clicking Click on the "New" button under the "System Variables" box.
Copy the value from the Explorer bar into the new variable.
Now, you should be able to install the Netbeans support.
...