Sorry I bother you, but this is my last option. I've read lot of an articles also from here Stackoverflow, and tried all things in those articles, but still not working. I really have a headache of this maven-enviromental-case, it is exploding my head very soon.
I have installed Maven to C:\Program Files\apache-maven-3.8.4
I have put it to the System Enviroment variables like this:
Variable Value
MAVEN_HOME C:\Program Files\apache-maven-3.8.4
Included MAVEN_HOME
to System Enviroment Variables path like this: %MAVEN_HOME%\bin
. Also tried to include location itself to the path like this C:\Program Files\apache-maven-3.8.4
.
Also tried to add those all in User variables. Restarted computer, tried to run CMD as Administrator, any of these working. If I echo %MAVEN_HOME%
I get C:\Program Files\apache-maven-3.8.4
. In IntelliJ IDEA I see the MAVEN_HOME variable in terminal variables.
CodePudding user response:
Ah something I expected. You have downloaded the github archive but not installation archive https://maven.apache.org/download.cgi (-bin.zip file!). Remove the whole directory first (delete it!)...download the zip archive from the download side and unpack it into the same location...