title: Set JAVA_HOME PATH for java 1.8 OSX sierra not work
body: <p>I check my last install java using this command line:</p>
  
  <pre><code>$ java -version
  </code></pre>
  
  <p>and output is:</p>
  
  <pre><code>java version "1.8.0_121"
  Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
  Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
  </code></pre>
  
  <p>But in <code>echo $JAVA_HOME</code>:</p>
  
  <pre><code>/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
  </code></pre>
  
  <p>How do can i set <code>$JAVA_HOME</code> PATH for java version <code>1.8</code>?</p>