

Select the checkbox to accept the license agreement and press the Download button. Then, you will face a screen asking you to accept the Oracle license agreement. But you don’t need to download anything from this page, only download the installation script through apt shortly.Īfter that, you must visit the Downloads page and locate the version that matches the one you need.īy clicking the JDK Download button you will be taken to a screen that shows the versions available. Since the version of the script is 11.0.7, you need Oracle JDK 11.0.7. Locate the package for Focal, as shown in the following figure: To find out which version you need, visit the oracle-java11-installer page. Note: The version of Oracle’s JDK you’ll need to download must match the version of the installer script. You must create an Oracle account and manually download the JDK to add a new package repository for the version you’d like to use to install the Oracle JDK, which is the official version distributed by Oracle. Since the Oracle’s licensing agreement for Java doesn’t allow automatic installation through package managers. util/install.sh -fnv to install everything.

I’m writing this in the hope that it’s useful for someone else. I wrote a tiny tutorial for downloading and installing OpenDayLight (ODL) as it was quite a hassle for me due to 1 tiny issue.
