I'm a rookie when it comes to Windows. I have installed Apache Maven by following the instructions in the given read me.
What I did was unzip the download and then set PATH="c:\program files\apache-maven-3.3.9\bin"
I then typed mvn --version
into the command prompt and then I got the error; 'mvn' is not recognized as an internal or external command, operable program or batch file.
.
I have read various answers to this problem. Many people have solved it by moving the M2
and M2_HOME
from user variables to system variables.
The problem is that I am getting confused by this. Can someone provide me with step-by-step instructions on how to solve this?