I use windows 10 and I set the path as a mention in the instructions
- Install M2_HOME (E: \ softwares \ apache-maven-3.3.9)
- Install M2 (% M2_HOME% \ bin)
- Set the path to the system variable (% M2_HOME% \ bin)
When I run mvn -version, I get an error
C:\Users\zafaque>echo %M2_HOME% E:\softwares\apache-maven-3.3.9 C:\Users\zafaque>mvn --version Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
source share