

Create an Oracle account at and sign inĢ. These are step-by-step instructions for installing Oracle Java 11 using the new "oracle-java11-installer-local" package:ġ.

jinfo file and update-alternatives, but also export the JAVA_HOME environment variable, etc.). You can install the oracle-java11-set-default-local package to set Oracle Java 11 as default for example (not only set it as default using a. I recommend you install that instead.Įverything else works as before. No need to check Oracle website or search in yum repositories.] Oracle Java 17 is the latest LTS, and it was released recently. To download it via terminal execute something like: sudo curl -o java11.rpm įrom the same directory execute the following command to install java 11Īfter this if you execute java -version you’ll get below output: openjdk version "11.0.5" LTS The link to download can be found here I used java-11-amazon-corretto-devel-11.0.5.10-1.x86_64.rpm.

You have to download it manually and install it from file. To install Java11 JDK on Amazon Linux there is no direct way from yum package manager. For SonarQube version 7.9+ the requirement is to have Java 11 JDK on the system. I have to install SonarQube 8 on an EC2 instance with Amazon Linux 2.
