This question has an answer on stack overflow at <http://stackoverflow.com/questions/26609922/maven-home-mvn-home-or-m2-home/26610326#26610326 <http://stackoverflow.com/questions/26609922/maven-home-mvn-home-or-m2-home/26610326#26610326>>.
> On 19 Feb 2016, at 10:37 AM, youssef boujallab <youssef.boujal...@gmail.com> > wrote: > > Hello, > > Did you set Maven home in your environments variables? > > Youssef > Le 18 févr. 2016 23:06, "Patric Hindenberger" <patric.hindenber...@gmail.com> > a écrit : > >> Hello >> >> i try to install MAVEN on MAC OS X EL CAPITAN and have downloaded and >> extracted the most recent maven- files. >> I have set up the $JAVA_HOME correctly to >> /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home >> >> >> >> But if i try to double check the install i get by >> >> mvn --version >> >> >> >> the result >> >> >> >> -bash: mvn: command not found >> >> >> Does somebody has a hint to me? >> >> >> Thx >> Patric >> >>