title: How to compile OpenJDK 11 on an M1 Macbook?
body: <p>I want to compile the OpenJDK 11 for an M1 MacBook.</p>
  <p>First, I tried to use the Zulu JDK, but I did not find out a way to compile it.</p>
  <p>Then, I tried to try compile OpenJDK on an M1, but this reports an error when I run <code>sh configure</code>.</p>
  <p>The error is:</p>
  <blockquote>
  <p>configure: The tested number of bits in the target (64) differs from
  the number of bits expected to be found in the target (32) configure:
  error: Cannot continue.</p>
  </blockquote>
  <p>So, how can I compile it?</p>