Ubuntu – Update to latest version of java after ppa is discontinued

javajdkjreopenjdk

I have been trying to install the latest version of java-8. However, I found out that the PPA ppa:webupd8team/java has been discontinued due to changes in the java licence.

How should I update my java to 8.0_201 or 8.0_211 now?

Thanks!

Best Answer

I did search for all PPAs on special launchpad page.

And it gave some alternatives like Hellenic Schools Technical Support Team team PPA - they have packages for Ubuntu

  • 12.04 LTS (precise)
  • 14.04 LTS (trusty)
  • 16.04 LTS (xenial)
  • 18.04 LTS (bionic)
  • 19.04 (disco)
  • 19.10 (eoan)
  • 20.04 LTS (focal)

You can add this repository and install Java 8 from it with:

sudo add-apt-repository ppa:ts.sch.gr/ppa
sudo apt-get update
sudo apt-get install oracle-java8-installer