title: JDK 11 as JAVA_HOME?
body: <p>Can the JAVA_HOME environment variable refer to JDK 11 (e.g. jdk-11.0.8) while running Codename One applications under Eclipse 2020-06?</p>
  <p>Or does it need to point to JDK 8 (e.g. jdk-1.8.0_241)?</p>
  <p>I am having the following error when I try to run Hello World app under Eclipse 2020-06 when JDK 11 is set to JAVA_HOME:</p>
  <pre><code>BUILD FAILED
  ...[shortened for brevity]...\HiWorldPrj\build.xml:106: Unable to find a javac compiler;
  com.sun.tools.javac.Main is not on the classpath.
  Perhaps JAVA_HOME does not point to the JDK.
  It is currently set to &quot;C:\Program Files\Java\jre1.8.0_241&quot;
  </code></pre>
  <p>I am positive JAVA_HOME points to JDK 11 (because I can echo it from command line).</p>
  <p>But I think I got this error because tool.jar is removed in JDK versions 9 and up and com.sun.tools.javac.Main used to be under tools.jar?</p>