oracle-java8-installer from ppa:webupd8team/java not working

Asked by Florin papa on 2017-10-18

I am having issues installing oracle-java8-installer from PPA webupd8team/java. It seems that Oracle moved some resources and that is why the package cannot be installed. I am using the latest Ubuntu 16.04 Docker image for this and I am accepting the license before running the command below. Does a bug need to be opened for this?

Please see the full output below:
root@test3-machine:/root# apt-get install oracle-java8-installer cassandra
Reading package lists...
Building dependency tree...
Reading state information...

[....] output omitted

Downloading Oracle Java 8...
--2017-10-17 22:42:47--
Resolving proxy-xxx
Connecting to proxy-xxx... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: [following]
--2017-10-17 22:42:47--
Connecting to proxy-xxx... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: [following]
--2017-10-17 22:42:47--
Reusing existing connection to proxy-xxx
Proxy request sent, awaiting response... 404 Not Found
2017-10-17 22:42:48 ERROR 404: Not Found.

download failed
Oracle JDK 8 is NOT installed.
dpkg: error processing package oracle-java8-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Solved by:
Florin papa
Last query:
Last reply:
Colin Watson (cjwatson) said : #1

We only provide the hosting; you'll need to take this up with the owner of the PPA in question (

windix (windix) said : #2

Hi Florin,

I got the same issue. The current work around based on webupd8 team's blog post: is to manually download jdk-8u144-linux-x64.tar.gz and put it under /var/cache/oracle-jdk8-installer/

Florin papa (fpapa) said : #3

I contacted the webupd8team admins about this and waiting for an answer. I know about the workaround, but I was relying on the old workflow for a Docker deployment.

I tried downloading Java8-u144 using wget, but since it is an older version, you cannot download it anymore without logging in to the Oracle Support website. That is probably why the webupd8team PPA is no longer working. I downloaded Java8-u151 as a workaround and that is probably what webupd8team should do as well.

I would really like the old workflow to function, as it is a much cleaner method.

Florin papa (fpapa) said : #4

The issue was solved, Java 8 was updated from u144 to u151 in the PPA.