title: Visual Studio Code showing "Java 11 or more recent is required to run. Please download and install a recent JDK"
body: <p>Today Visual Studio Code started showing me a pop-up saying:</p>
  <blockquote>
  <p>Java 11 or more recent is required to run. Please download and install a recent JDK.</p>
  </blockquote>
  <p><strong>I need to use the JDK 8</strong> (working on Apache Beam and that's the last supported version). I have been working on that and haven't had any issues until this came up.</p>
  <p>I have read through <a href="https://github.com/redhat-developer/vscode-java/wiki/JDK-Requirements#setting-the-jdk" rel="noreferrer">this article</a> and implemented the points mentioned there.</p>
  <p>Here is my workspace settings on Visual Studio Code (I have double-checked the paths)</p>
  <pre><code>{
      &quot;java.configuration.updateBuildConfiguration&quot;: &quot;disabled&quot;,
      &quot;java.home&quot;: &quot;/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home&quot;,
      &quot;java.configuration.runtimes&quot;: [
          {
            &quot;name&quot;: &quot;JavaSE-1.8&quot;,
            &quot;path&quot;: &quot;/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home&quot;,
            &quot;default&quot;: true
          },
          {
            &quot;name&quot;: &quot;JavaSE-11&quot;,
            &quot;path&quot;: &quot;/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home&quot;,
          }
        ]
  }
  </code></pre>
  <p>Other helpful information:</p>
  <pre><code>➜ echo $JAVA_HOME
  /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
  </code></pre>
  <p>and</p>
  <pre><code>➜ which java
  /usr/bin/java
  </code></pre>
  <p>This started happening today even though I have been running JDK 8 on Visual Studio Code successfully for a while now. I don't remember updating Visual Studio Code, so I'm not sure as to why this is being displayed now since apparently the pop-up has been displayed since mid-April (asked on the <em>vscode-java</em> Gitter channel).</p>