title: Java JDK on MacBook M1
body: <p>I have just bought the new M1 MacBook and when I try to execute &quot;sudo apt get install docker&quot; I get the following error:</p>
  <p>&quot;The operation couldn’t be completed. Unable to locate a Java Runtime that supports apt.
  Please visit <a href="http://www.java.com" rel="nofollow noreferrer">http://www.java.com</a> for information on installing Java.&quot;</p>
  <p>I already have the azul jdk-11 for ARM64 and and have called echo $JAVA_HOME and java --version.</p>
  <p>any Ideas?</p>