1
I have set the following environment variables
JAVA_HOME C:\Program Files\Java\jdk1.8.0_144%MAVEN%
MAVEN_HOME C:\Users\Rafael Storm\Desktop\apache-maven-3.5.2 - (extrai o Maven)
MAVEN %MAVEN_HOME%\bin
Path %JAVA_HOME%\bin
However, when I try to check on Maven...
C:\Users\Rafael Storm>mvn -version
'mvn' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.
Any hint or variable that might be set wrong?
This wrong config, removes from JAVA_HOME that %MAVEN%, creates a M2_HOME and points to the Maven folder then in the path uses Path %JAVA_HOME% bin;%M2_HOME% bin
– Dilnei Cunha
Remembering that as it is windows any config is not valid for the current DOS window, after configured need to close and open a new.
– Dilnei Cunha