title: How to uninstall Java 9 on macOS Sierra
body: <p>I'm having trouble removing <code>Java 9</code> from my <code>macOS Sierra</code> system.</p>
  
  <p>I accidentally installed <code>Java 9</code>, instead of <code>Java 8</code>, so now all my <code>Eclipse</code> projects give me these warnings: <code>Build path specifies execution environment JavaSE-1.8. There are no JREs installed in the workspace that are strictly compatible with this environment.</code></p>
  
  <p>I have used the <a href="http://osxdaily.com/2017/06/16/uninstall-java-mac/" rel="noreferrer">following guide</a>, but it did not work. Here is my command output when running <code>java -version</code> from the command line:</p>
  
  <pre><code>java version "9"
  Java(TM) SE Runtime Environment (build 9+181)
  Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
  </code></pre>