title: OSX - Maven installed: mvn command not recognised
body: <p>I've tried a bunch of previous solutions (see below) but something must be wrong with my environment...</p>
  
  <p>When trying any variant of the following:</p>
  
  <pre><code>mvn -v
  mvn -version
  mvn --version
  mvn3 -version
  mvn3 --version
  </code></pre>
  
  <p>All produce <code>~bash: mvn: command not found</code></p>
  
  <p>Confirming my PATH includes the maven /bin/, JAVA_HOME includes jdk home, (and even M3_HOME is maven dir, as per one thread) are as follows:</p>
  
  <pre><code>$ echo $PATH
  /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/.local/bin:/usr/local/javaPath:/Documents/MavenStuff/apache-maven-3.5.2/bin
  
  $echo $JAVA_HOME
  /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
  
  $echo $M3_HOME
  /Documents/MavenStuff/apache-maven-3.5.2/
  </code></pre>
  
  <p>The /apache-maven-3.5.2/ directory contains the uncompressed maven folder, straight from the website:</p>
  
  <pre><code>apache-maven-3.5.2/ user1$ ls -l
  total 64
  -rw-r--r--@  1 user1  1373174850  20943 18 Oct 08:59 LICENSE
  -rw-r--r--@  1 user1  1373174850    182 18 Oct 08:59 NOTICE
  -rw-r--r--@  1 user1  1373174850   2544 18 Oct 08:55 README.txt
  drwxr-xr-x@  8 user1  1373174850    272  9 Mar 00:21 bin
  drwxr-xr-x@  3 user1  1373174850    102  9 Mar 00:21 boot
  drwxr-xr-x@  5 user1  1373174850    170  9 Mar 00:21 conf
  drwxr-xr-x@ 83 user1  1373174850   2822  9 Mar 00:21 lib
  </code></pre>
  
  <p>Why won't maven work? :\</p>