title: How to install JDK 11 under Ubuntu?
body: <p>So Java 11 <a href="https://mail.openjdk.java.net/pipermail/announce/2018-September/000257.html" rel="noreferrer">is out</a>. Does anybody know how to install it (OpenJDK from Oracle) from the command line?</p>
  
  <p>I would like to see something like it was before for Oracle Java 10:</p>
  
  <pre><code>sudo add-apt-repository ppa:linuxuprising/java
  sudo apt-get update
  sudo apt-get install oracle-java10-installer
  </code></pre>
  
  <p>P. S. In the <a href="https://stackoverflow.com/questions/49507160/how-to-install-jdk-10-under-ubuntu">similar</a> question proposed instruction:</p>
  
  <pre><code>sudo apt-get install openjdk-11-jdk
  </code></pre>
  
  <p>doesn't work.</p>