Sorry, I don’t know what the appropriate forum for this question is.
I am following a course Maven Fundamentals on Pluralsight.
I installed Spring Tools Suite 4 and Maven.
Maven I installed on the G drive and I assumed that is why it didn’t work.
In the command prompt instructing
mvn –version
yields
'mvn' is not recognized as an internal or external command, operable program or batch file.
However, I tried putting it in a few places on the C drive, but that didn’t help.
There is however a difference that puzzles me. I am talking about the setting found at (translated from Dutch)
System Variables → Environment Variables → in table System Variables select ‘Path’ → Edit…
The first time I did that I got a table with lines and I could add the line %MAVEN_HOME%bin
Now eacht time I go there the table is compacted in a single line, like this :
%JAVA_HOME%\bin;%MAVEN_HOME%\bin%;TRICENTIS_SEARCH %;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\ System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerSh ell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Progra m Files\Java\jdk-18.0.2.1\bin;C:\Program Files (x86)\dotnet\;C:\Program Files\dotnet\;
How can I explain to the command prompt where to find the mvn command ?