Languages

E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release' does not have a Release file.

6 points
Asked by:
Teilsa
1345

sudo apt-get update throws some error:

E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release' does not have a Release file.

Any idea?

Note: I have Ubuntu 20.04 x64.

1 answer
7 points
Answered by:
Teilsa
1345

It looks like the PPA doesn't support Java version you want to install/update in your Ubuntu.

Read this note: https://launchpad.net/~webupd8team/+archive/ubuntu/java:

...
The PPA supports Ubuntu 18.10, 18.04, 16.04, 14.04 and 12.04.
...

Try to find a different way to install Java 8.

e.g.

OpenJDK:

sudo apt-get update
sudo apt install openjdk-8-jdk

AdoptOpenJDK:

  1. Java 8:
    https://adoptopenjdk.net/installation.html?variant=openjdk8&jvmVariant=hotspot#x64_linux-jdk
  2. or Java 11:
    https://adoptopenjdk.net/installation.html?variant=openjdk11&jvmVariant=hotspot#x64_linux-jdk

Amazon Java Corretto:

  1. Java 8:
    https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/generic-linux-install.html
    https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html
  2. or Java 11:
    https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/generic-linux-install.html
    https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html

 

Note: read this article to select the default Java version if you have installed multiple Java versions.

0 comments Add comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join