kururu-abdo / InvocationTargetException

0 stars 0 forks source link

'mvn' is not recognize #2

Open kururu-abdo opened 6 years ago

kururu-abdo commented 6 years ago

i tried to use mvn in command line but this output:

'mvn' is not recognized as an internal or external command, operable program or batch file.

inspite of i set directory of apachi-maven to System variables: ;C:\Program Files\apache-maven-3.6.0\bin

it still not work

@edvin

edvin commented 6 years ago

You need to do two things:

  1. Add C:\Program Files\apache-maven-3.6.0\bin to your PATH environment variable
  2. Create an enviroment variable called M2_HOME pointing to C:\Program Files\apache-maven-3.6.0