Install Oracle Java 15 via PPA in Ubuntu 20.04, 18.04, 16.04

September 17, 2020 — Leave a comment

Oracle Java 15 was released a few days ago. The installer script has been made into PPA for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, and their derivatives.

See the release note for what’s new in Oracle Java 15.

The “Linux Uprising” team ppa has made the installer script, which automatically downloads and installs Oracle JDK 15 package, and sets Java 15 as the default Java version (setting JAVA_HOME, etc.) on 64-bit Ubuntu based system.

1.) Open terminal and run command to add the PPA:

sudo add-apt-repository ppa:linuxuprising/java

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2.) After adding PPA, refresh system package cache and install the script:

sudo apt update

sudo apt install oracle-java15-installer

Once the package is installed, you have to accept the license (press Tab to highlight) before starting the download process.

And after installed Oracle Java 15, check via java --version command:

(Optional) To uninstall the PPA repository, run command in terminal:

sudo add-apt-repository --remove ppa:linuxuprising/java

And remove Oracle Java 15 if you want by running command:

sudo apt-get remove oracle-java15-installer

I'm a freelance blogger who started using Ubuntu in 2007 and wish to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected]

No Comments

Be the first to start the conversation.

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*