title: AWS - How to install java11 on an EC2 Linux machine?
body: <p>I tried this </p>
  
  <p><a href="https://stackoverflow.com/questions/10268583/downloading-java-jdk-on-linux-via-wget-is-shown-license-page-instead">Downloading Java JDK on Linux via wget is shown license page instead</a></p>
  
  <p>but I keep getting a 404 error. </p>
  
  <p>This command  "sudo amazon-linux-extras install java-openjdk11" just states that amazon-linux-extras doesnt exist.</p>