title: Uninstall Java version 11 mac
body: <p>How to uninstall a specific java version from a mac? </p>
  
  <p>When I execute the following command: </p>
  
  <pre><code>/usr/libexec/java_home -V
  </code></pre>
  
  <p>I see the following.</p>
  
  <pre><code>Matching Java Virtual Machines (2):
      11.0.2, x86_64: "OpenJDK 11.0.2"    /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
      1.8.0_202, x86_64:  "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home
  </code></pre>
  
  <p>I want to uninstall just Java 11.0.2 and keep the second one.</p>