Jenkins

= Install Java 11 =

1. Create an Oracle account and sign in https://profile.oracle.com/myprofile/account/create-account.jspx

2. Download Oracle JDK 11 .tar.gz archive. Make sure the Oracle JDK version you're downloading is the same as the oracle-java11-installer-local package version. E.g. the installer is currently version 11.0.3, so it can be used to install Oracle JDK 11.0.3.

3. Create a /var/cache/oracle-jdk11-installer-local/ folder, and copy the Oracle JDK 11 .tar.gz to this folder. /var/cache/oracle-jdk11-installer-local/

1. To add the PPA, open terminal either from app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command: sudo add-apt-repository ppa:linuxuprising/java

2. Then run commands to install the script to start downloading and installing Java 11 on your Ubuntu: sudo apt-get update sudo apt-get install oracle-java11-installer-local

3. If you have installed multiple Java versions, install (or remove) oracle-java11-set-default package to set (or not set) Java 11 as default. sudo apt-get install oracle-java11-set-default-local

Finally check Java version via java -version