title: gradle Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'
body: <ul>
  <li>I'm building ghidra according to the <a href="https://github.com/NationalSecurityAgency/ghidra/blob/master/DevGuide.md" rel="noreferrer">installation guide</a>.
  Everything goes fine Until I get <a href="https://github.com/NationalSecurityAgency/ghidra/blob/master/DevGuide.md#building-ghidra" rel="noreferrer">here</a>.</li>
  <li>Once I call <code>$ gradle buildGhidra</code> I get the following error:</li>
  </ul>
  <pre><code>&gt; Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)'
  </code></pre>
  <p>This seems weird because I <em>do</em> have java 11:</p>
  <pre><code>$ java --version
  openjdk 11.0.8 2020-07-14
  OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
  OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)
  </code></pre>
  <p>What am I missing?</p>