title: How to build OpenJDK with Emscripten?
body: <p>I am trying to use Emscripten's emconfigure and emmake to compile OpenJDK for the web. The end goal would be to be able to run uncompiled java code natively in the browser. However, running <code>emconfigure ./configure</code> throws the error</p>
  <pre><code>configure: The C compiler (located as /usr/lib/emscripten/emcc) does not seem to be the required gcc compiler.
  configure: The result from running with --version was: &quot;&quot;
  configure: error: A gcc compiler is required. Try setting --with-tools-dir.
  </code></pre>
  <p>I have been searching all day and I haven't found anything along the lines of this error. Is there any easy workaround for this? Should I even be trying to build OpenJDK this way?</p>