title: Java Developer Kit executable unable to be found
body: <p>I'm trying to install mysql on my Mac using the command</p>
  
  <pre><code>sudo apt install mysql 
  </code></pre>
  
  <p>and it said I needed to install JDK on it. So I installed JDK but am receiving an error saying:</p>
  
  <blockquote>
    <p>Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/apt" (-1)</p>
  </blockquote>
  
  <p>I have updated my env path to </p>
  
  <pre><code>JAVA_HOME=/Library/Java/Home
  </code></pre>
  
  <p>But when I install JDK theres no java file anywhere in my library, even though when I check to see if I have installed it, it is successfully found. I've installed Homebrew but do not know what package to install after the initial installation, or if this is the problem.</p>
  
  <p>Any help would be appreciated.</p>