Im getting error reports with each regular update for java. I cant make sense of the various remedies online... they all fail to resolve issue.

Asked by Farren Dilon

I have 16.04 lts
openjdk java 8 vesion 8u171
I keep getting errors.
Tried some fixes... Is this the problem?
 Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-04 09:30:22 ERROR 404: Not Found.
Please help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Oracle is the closed source java.

Did you run:

sudo apt-get update

First?

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

What command did you execute to receive this error message?

Revision history for this message
Farren Dilon (ftdilon) said :
#3

The original error messages were from regular automatic updates. No input
from me.
Happened numerous times
I finally tried some suggestions from openstack & ubuntu etc. but the
results were "failed"

--------------------------
 * (June 5, 2018 - 12:41 pm)*

farren-All-Series:~$ sudo apt-get update
[sudo] password for farren:
Ign:1 http://linux.dropbox.com/ubuntu xenial InRelease
Get:2 http://linux.dropbox.com/ubuntu xenial Release [6,600
B]
Ign:3 http://dl.google.com/linux/chrome/deb stable
InRelease
Hit:5 http://dl.google.com/linux/chrome/deb stable
Release
Hit:7 http://ppa.launchpad.net/adriansmith/upm/ubuntu xenial
InRelease
Hit:8 http://archive.ubuntu.com/ubuntu xenial
InRelease
Hit:9 http://archive.canonical.com/ubuntu raring
InRelease
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109
kB]
Hit:11 http://ppa.launchpad.net/linuxuprising/java/ubuntu xenial InRelease
Hit:12 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial
InRelease
Get:13 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107
kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Fetched 329 kB in 1s (222 kB/s)
Reading package lists... Done
----------------------

"Warning" the following might be cringe-worthy.

*(June 4, 2018 - 6:00 pm)*

Crash Report
Package: oracle-java7-installer 7u80+ 7u60arm-0~webupd8~1
-- -- -- -- --
Problem in oracle java installer (not official ubuntu)
Remove package & try again
--- --- --- ---
Searched... found:
sudo apt-get install oracle-java9-installer
cd /var/lib/dpkg/info
sudo sed -i 's/=177/=179/' oracle-java9-installer.*
sudo sed -i 's/SHA256SUM_TGZ="a6905f3a4245a071880e1793b8d3d6
100ef7b171ea1d6ebfe6312c25c2fca8bb"/SHA256SUM_TGZ="
06fe58dfa50c4f6ca21dc1d475f16cd9e58db36b1d98582091d7ff9005dda7a7"/'
oracle-java9-installer.*
sudo apt-get install oracle-java9-installer

Result:

--- --- --- ---
farren@farren-All-Series:~$ sudo apt-get install oracle-java9-installer
[sudo] password for farren:
Sorry, try again.
[sudo] password for farren:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libllvm4.0 libqmi-glib1 libqpdf17 linux-headers-4.4.0-101
  linux-headers-4.4.0-101-generic linux-headers-4.4.0-103
  linux-headers-4.4.0-103-generic linux-headers-4.4.0-104
  linux-headers-4.4.0-104-generic linux-headers-4.4.0-108
  linux-headers-4.4.0-108-generic linux-headers-4.4.0-109
  linux-headers-4.4.0-109-generic linux-headers-4.4.0-112
  linux-headers-4.4.0-112-generic linux-headers-4.4.0-116
  linux-headers-4.4.0-116-generic linux-headers-4.4.0-119
  linux-headers-4.4.0-119-generic linux-headers-4.4.0-121
  linux-headers-4.4.0-121-generic linux-headers-4.4.0-122
  linux-headers-4.4.0-122-generic linux-headers-4.4.0-83
  linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
  linux-headers-4.4.0-87-generic linux-headers-4.4.0-89
  linux-headers-4.4.0-89-generic linux-headers-4.4.0-91
  linux-headers-4.4.0-91-generic linux-headers-4.4.0-92
  linux-headers-4.4.0-92-generic linux-headers-4.4.0-93
  linux-headers-4.4.0-93-generic linux-headers-4.4.0-96
  linux-headers-4.4.0-96-generic linux-headers-4.4.0-97
  linux-headers-4.4.0-97-generic linux-headers-4.4.0-98
  linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic
  linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic
  linux-image-4.4.0-108-generic linux-image-4.4.0-109-generic
  linux-image-4.4.0-112-generic linux-image-4.4.0-116-generic
  linux-image-4.4.0-119-generic linux-image-4.4.0-121-generic
  linux-image-4.4.0-122-generic linux-image-4.4.0-83-generic
  linux-image-4.4.0-87-generic linux-image-4.4.0-89-generic
  linux-image-4.4.0-91-generic linux-image-4.4.0-92-generic
  linux-image-4.4.0-93-generic linux-image-4.4.0-96-generic
  linux-image-4.4.0-97-generic linux-image-4.4.0-98-generic
  linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-103-generic
  linux-image-extra-4.4.0-104-generic linux-image-extra-4.4.0-108-generic
  linux-image-extra-4.4.0-109-generic linux-image-extra-4.4.0-112-generic
  linux-image-extra-4.4.0-116-generic linux-image-extra-4.4.0-119-generic
  linux-image-extra-4.4.0-121-generic linux-image-extra-4.4.0-122-generic
  linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-87-generic
  linux-image-extra-4.4.0-89-generic linux-image-extra-4.4.0-91-generic
  linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
  linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic
  linux-image-extra-4.4.0-98-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  oracle-java9-set-default
Suggested packages:
  visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core ttf-kochi-gothic
  | ttf-sazanami-gothic ttf-kochi-mincho | ttf-sazanami-mincho
  ttf-arphic-uming
The following NEW packages will be installed:
  oracle-java9-installer oracle-java9-set-default
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
Need to get 35.5 kB of archives.
After this operation, 135 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/linuxuprising/java/ubuntu xenial/main amd64
oracle-java9-installer amd64 9.0.4-1 [31.0 kB]
Get:2 http://ppa.launchpad.net/linuxuprising/java/ubuntu xenial/main amd64
oracle-java9-set-default amd64 9.0.4-1 [4,512 B]
Fetched 35.5 kB in 0s (43.6 kB/s)
Preconfiguring packages ...
Selecting previously unselected package oracle-java9-installer.
(Reading database ... 1005669 files and directories currently installed.)
Preparing to unpack .../oracle-java9-installer_9.0.4-1_amd64.deb ...
oracle-license-v1-1 license has already been accepted
Unpacking oracle-java9-installer (9.0.4-1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Setting up oracle-java9-installer (9.0.4-1) ...
No /var/cache/oracle-jdk9-installer/wgetrc file found.
Creating /var/cache/oracle-jdk9-installer/wgetrc and
using default oracle-java9-installer wgetrc settings for it.
Downloading Oracle Java 9...
--2018-06-04 09:30:20-- http://download.oracle.com/
otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f95976
3f/jdk-9.0.4_linux-x64_bin.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.48.156.77
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.4+11/
c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz [following]
--2018-06-04 09:30:20-- https://edelivery.oracle.com/
otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f95976
3f/jdk-9.0.4_linux-x64_bin.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.198.152.11,
2600:1409:a:597::2d3e, 2600:1409:a:582::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.198.152.11|:443...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/
c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.
tar.gz?AuthParam=1528129940_311103a72e0553990474b8d6b80ec89c [following]
--2018-06-04 09:30:20-- http://download.oracle.com/
otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f95976
3f/jdk-9.0.4_linux-x64_bin.tar.gz?AuthParam=1528129940_
311103a72e0553990474b8d6b80ec89c
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-04 09:30:22 ERROR 404: Not Found.

download failed
Oracle JDK 9 is NOT installed.
dpkg: error processing package oracle-java9-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 oracle-java9-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
--- --- --- ---
Problem occurred installing software.
Package: oracle-java9-installer 9.0.4-1

--- --- --- ---
farren@farren-All-Series:~$ $sudo add-apt-repository ppa:webupd8team/java
Error: must run as root
farren@farren-All-Series:~$ $sudo apt-get update
Reading package lists... Done
W: chmod 0700 of directory /var/lib/apt/lists/partial failed -
SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission
denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches
(13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches
(13: Permission denied)
farren@farren-All-Series:~$ sudo apt remove oracle-java9-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libllvm4.0 libqmi-glib1 libqpdf17 linux-headers-4.4.0-101
  linux-headers-4.4.0-101-generic linux-headers-4.4.0-103
  linux-headers-4.4.0-103-generic linux-headers-4.4.0-104
  linux-headers-4.4.0-104-generic linux-headers-4.4.0-108
  linux-headers-4.4.0-108-generic linux-headers-4.4.0-109
  linux-headers-4.4.0-109-generic linux-headers-4.4.0-112
  linux-headers-4.4.0-112-generic linux-headers-4.4.0-116
  linux-headers-4.4.0-116-generic linux-headers-4.4.0-119
  linux-headers-4.4.0-119-generic linux-headers-4.4.0-121
  linux-headers-4.4.0-121-generic linux-headers-4.4.0-122
  linux-headers-4.4.0-122-generic linux-headers-4.4.0-83
  linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
  linux-headers-4.4.0-87-generic linux-headers-4.4.0-89
  linux-headers-4.4.0-89-generic linux-headers-4.4.0-91
  linux-headers-4.4.0-91-generic linux-headers-4.4.0-92
  linux-headers-4.4.0-92-generic linux-headers-4.4.0-93
  linux-headers-4.4.0-93-generic linux-headers-4.4.0-96
  linux-headers-4.4.0-96-generic linux-headers-4.4.0-97
  linux-headers-4.4.0-97-generic linux-headers-4.4.0-98
  linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic
  linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic
  linux-image-4.4.0-108-generic linux-image-4.4.0-109-generic
  linux-image-4.4.0-112-generic linux-image-4.4.0-116-generic
  linux-image-4.4.0-119-generic linux-image-4.4.0-121-generic
  linux-image-4.4.0-122-generic linux-image-4.4.0-83-generic
  linux-image-4.4.0-87-generic linux-image-4.4.0-89-generic
  linux-image-4.4.0-91-generic linux-image-4.4.0-92-generic
  linux-image-4.4.0-93-generic linux-image-4.4.0-96-generic
  linux-image-4.4.0-97-generic linux-image-4.4.0-98-generic
  linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-103-generic
  linux-image-extra-4.4.0-104-generic linux-image-extra-4.4.0-108-generic
  linux-image-extra-4.4.0-109-generic linux-image-extra-4.4.0-112-generic
  linux-image-extra-4.4.0-116-generic linux-image-extra-4.4.0-119-generic
  linux-image-extra-4.4.0-121-generic linux-image-extra-4.4.0-122-generic
  linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-87-generic
  linux-image-extra-4.4.0-89-generic linux-image-extra-4.4.0-91-generic
  linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
  linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic
  linux-image-extra-4.4.0-98-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  oracle-java9-installer
0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
3 not fully installed or removed.
After this operation, 118 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 1005696 files and directories currently installed.)
Removing oracle-java9-installer (9.0.4-1) ...
/var/lib/dpkg/info/oracle-java9-installer.prerm: 51: [: bin: unexpected
operator
update-binfmts: warning: current package is oracle-java9, but binary format
already installed by openjdk-6; not removing.
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ...
Downloading Oracle Java 7...
--2018-06-04 09:41:26-- http://download.oracle.com/
otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.48.156.77
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-
7u80-linux-x64.tar.gz [following]
--2018-06-04 09:41:26-- https://edelivery.oracle.com/
otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.198.152.11,
2600:140a:c000:39e::2d3e, 2600:140a:c000:397::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.198.152.11|:443...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-
7u80-linux-x64.tar.gz?AuthParam=1528130607_40dd43ac7fed26e229b99b651da3bdc7
[following]
--2018-06-04 09:41:27-- http://download.oracle.com/
otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1528130607_
40dd43ac7fed26e229b99b651da3bdc7
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-04 09:41:27 ERROR 404: Not Found.

download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of oracle-jdk7-installer:
 oracle-jdk7-installer depends on oracle-java7-installer; however:
  Package oracle-java7-installer is not configured yet.

dpkg: error processing package oracle-jdk7-installer (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
                          Errors were encountered while processing:
 oracle-java7-installer
 oracle-jdk7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
farren@farren-All-Series:~$ sudo apt-get install oracle-java8-set-default
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  libllvm4.0 libqmi-glib1 libqpdf17 linux-headers-4.4.0-101
  linux-headers-4.4.0-101-generic linux-headers-4.4.0-103
  linux-headers-4.4.0-103-generic linux-headers-4.4.0-104
  linux-headers-4.4.0-104-generic linux-headers-4.4.0-108
  linux-headers-4.4.0-108-generic linux-headers-4.4.0-109
  linux-headers-4.4.0-109-generic linux-headers-4.4.0-112
  linux-headers-4.4.0-112-generic linux-headers-4.4.0-116
  linux-headers-4.4.0-116-generic linux-headers-4.4.0-119
  linux-headers-4.4.0-119-generic linux-headers-4.4.0-121
  linux-headers-4.4.0-121-generic linux-headers-4.4.0-122
  linux-headers-4.4.0-122-generic linux-headers-4.4.0-83
  linux-headers-4.4.0-83-generic linux-headers-4.4.0-87
  linux-headers-4.4.0-87-generic linux-headers-4.4.0-89
  linux-headers-4.4.0-89-generic linux-headers-4.4.0-91
  linux-headers-4.4.0-91-generic linux-headers-4.4.0-92
  linux-headers-4.4.0-92-generic linux-headers-4.4.0-93
  linux-headers-4.4.0-93-generic linux-headers-4.4.0-96
  linux-headers-4.4.0-96-generic linux-headers-4.4.0-97
  linux-headers-4.4.0-97-generic linux-headers-4.4.0-98
  linux-headers-4.4.0-98-generic linux-image-4.4.0-101-generic
  linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic
  linux-image-4.4.0-108-generic linux-image-4.4.0-109-generic
  linux-image-4.4.0-112-generic linux-image-4.4.0-116-generic
  linux-image-4.4.0-119-generic linux-image-4.4.0-121-generic
  linux-image-4.4.0-122-generic linux-image-4.4.0-83-generic
  linux-image-4.4.0-87-generic linux-image-4.4.0-89-generic
  linux-image-4.4.0-91-generic linux-image-4.4.0-92-generic
  linux-image-4.4.0-93-generic linux-image-4.4.0-96-generic
  linux-image-4.4.0-97-generic linux-image-4.4.0-98-generic
  linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-103-generic
  linux-image-extra-4.4.0-104-generic linux-image-extra-4.4.0-108-generic
  linux-image-extra-4.4.0-109-generic linux-image-extra-4.4.0-112-generic
  linux-image-extra-4.4.0-116-generic linux-image-extra-4.4.0-119-generic
  linux-image-extra-4.4.0-121-generic linux-image-extra-4.4.0-122-generic
  linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-87-generic
  linux-image-extra-4.4.0-89-generic linux-image-extra-4.4.0-91-generic
  linux-image-extra-4.4.0-92-generic linux-image-extra-4.4.0-93-generic
  linux-image-extra-4.4.0-96-generic linux-image-extra-4.4.0-97-generic
  linux-image-extra-4.4.0-98-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  oracle-java8-installer
Suggested packages:
  visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core ttf-kochi-gothic
  | ttf-sazanami-gothic ttf-kochi-mincho | ttf-sazanami-mincho
  ttf-arphic-uming
The following NEW packages will be installed:
  oracle-java8-installer oracle-java8-set-default
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
Need to get 40.1 kB of archives.
After this operation, 138 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64
oracle-java8-installer all 8u171-1~webupd8~0 [33.3 kB]
Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64
oracle-java8-set-default all 8u171-1~webupd8~0 [6,846 B]
Fetched 40.1 kB in 0s (52.5 kB/s)
Preconfiguring packages ...
Selecting previously unselected package oracle-java8-installer.
(Reading database ... 1005670 files and directories currently installed.)
Preparing to unpack .../oracle-java8-installer_8u171-1~webupd8~0_all.deb ...
oracle-license-v1-1 license has already been accepted
Unpacking oracle-java8-installer (8u171-1~webupd8~0) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Setting up oracle-java8-installer (8u171-1~webupd8~0) ...
No /var/cache/oracle-jdk8-installer/wgetrc file found.
Creating /var/cache/oracle-jdk8-installer/wgetrc and
using default oracle-java8-installer wgetrc settings for it.
Downloading Oracle Java 8...
--2018-06-04 09:43:21-- http://download.oracle.com/
otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89
e8/jdk-8u171-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.48.156.77
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u171-b11/
512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz [following]
--2018-06-04 09:43:21-- https://edelivery.oracle.com/
otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89
e8/jdk-8u171-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.39.16.136,
2600:140a:c000:397::2d3e, 2600:140a:c000:39e::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.39.16.136|:443...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u171-b11/
512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.tar.gz?
AuthParam=1528130721_fdc04004071f7655dbed3c1bdd93547a [following]
--2018-06-04 09:43:21-- http://download.oracle.com/
otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89
e8/jdk-8u171-linux-x64.tar.gz?AuthParam=1528130721_
fdc04004071f7655dbed3c1bdd93547a
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 190890122 (182M) [application/x-gzip]
Saving to: ‘jdk-8u171-linux-x64.tar.gz’

     0K ........ ........ ........ ........ ........ ........ 1% 2.91M 62s
  3072K ........ ........ ........ ........ ........ ........ 3% 2.89M 61s
  6144K ........ ........ ........ ........ ........ ........ 4% 2.09M 67s
  9216K ........ ........ ........ ........ ........ ........ 6% 3.29M 63s
 12288K ........ ........ ........ ........ ........ ........ 8% 2.97M 60s
 15360K ........ ........ ........ ........ ........ ........ 9% 3.11M 58s
 18432K ........ ........ ........ ........ ........ ........ 11% 3.08M 56s
 21504K ........ ........ ........ ........ ........ ........ 13% 3.19M 55s
 24576K ........ ........ ........ ........ ........ ........ 14% 3.00M 53s
 27648K ........ ........ ........ ........ ........ ........ 16% 2.99M 52s
 30720K ........ ........ ........ ........ ........ ........ 18% 2.86M 51s
 33792K ........ ........ ........ ........ ........ ........ 19% 2.99M 50s
 36864K ........ ........ ........ ........ ........ ........ 21% 2.85M 49s
 39936K ........ ........ ........ ........ ........ ........ 23% 3.44M 48s
 43008K ........ ........ ........ ........ ........ ........ 24% 3.14M 46s
 46080K ........ ........ ........ ........ ........ ........ 26% 3.53M 45s
 49152K ........ ........ ........ ........ ........ ........ 28% 3.37M 44s
 52224K ........ ........ ........ ........ ........ ........ 29% 3.28M 42s
 55296K ........ ........ ........ ........ ........ ........ 31% 3.26M 41s
 58368K ........ ........ ........ ........ ........ ........ 32% 3.15M 40s
 61440K ........ ........ ........ ........ ........ ........ 34% 3.23M 39s
 64512K ........ ........ ........ ........ ........ ........ 36% 2.91M 38s
 67584K ........ ........ ........ ........ ........ ........ 37% 3.00M 37s
 70656K ........ ........ ........ ........ ........ ........ 39% 2.97M 36s
 73728K ........ ........ ........ ........ ........ ........ 41% 3.36M 35s
 76800K ........ ........ ........ ........ ........ ........ 42% 3.11M 34s
 79872K ........ ........ ........ ........ ........ ........ 44% 2.57M 33s
 82944K ........ ........ ........ ........ ........ ........ 46% 2.74M 33s
 86016K ........ ........ ........ ........ ........ ........ 47% 3.16M 31s
 89088K ........ ........ ........ ........ ........ ........ 49% 3.19M 30s
 92160K ........ ........ ........ ........ ........ ........ 51% 3.22M 29s
 95232K ........ ........ ........ ........ ........ ........ 52% 3.39M 28s
 98304K ........ ........ ........ ........ ........ ........ 54% 3.00M 27s
101376K ........ ........ ........ ........ ........ ........ 56% 2.69M 26s
104448K ........ ........ ........ ........ ........ ........ 57% 3.17M 25s
107520K ........ ........ ........ ........ ........ ........ 59% 3.18M 24s
110592K ........ ........ ........ ........ ........ ........ 60% 3.19M 23s
113664K ........ ........ ........ ........ ........ ........ 62% 2.93M 22s
116736K ........ ........ ........ ........ ........ ........ 64% 3.30M 21s
119808K ........ ........ ........ ........ ........ ........ 65% 3.09M 20s
122880K ........ ........ ........ ........ ........ ........ 67% 3.26M 19s
125952K ........ ........ ........ ........ ........ ........ 69% 3.09M 18s
129024K ........ ........ ........ ........ ........ ........ 70% 3.04M 17s
132096K ........ ........ ........ ........ ........ ........ 72% 2.91M 16s
135168K ........ ........ ........ ........ ........ ........ 74% 3.03M 15s
138240K ........ ........ ........ ........ ........ ........ 75% 3.13M 14s
141312K ........ ........ ........ ........ ........ ........ 77% 3.03M 13s
144384K ........ ........ ........ ........ ........ ........ 79% 3.11M 12s
147456K ........ ........ ........ ........ ........ ........ 80% 3.08M 11s
150528K ........ ........ ........ ........ ........ ........ 82% 2.92M 11s
153600K ........ ........ ........ ........ ........ ........ 84% 3.16M 10s
156672K ........ ........ ........ ........ ........ ........ 85% 3.27M 9s
159744K ........ ........ ........ ........ ........ ........ 87% 2.78M 8s
162816K ........ ........ ........ ........ ........ ........ 88% 3.10M 7s
165888K ........ ........ ........ ........ ........ ........ 90% 2.94M 6s
168960K ........ ........ ........ ........ ........ ........ 92% 3.18M 5s
172032K ........ ........ ........ ........ ........ ........ 93% 3.22M 4s
175104K ........ ........ ........ ........ ........ ........ 95% 3.11M 3s
178176K ........ ........ ........ ........ ........ ........ 97% 3.18M 2s
181248K ........ ........ ........ ........ ........ ........ 98% 2.93M 1s
184320K ........ ........ ........ ........ 100% 3.25M=60s

2018-06-04 09:44:21 (3.05 MB/s) - ‘jdk-8u171-linux-x64.tar.gz’ saved
[190890122/190890122]

Download done.
Removing outdated cached downloads...
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/ControlPanel
to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/javaws to
provide /usr/bin/javaws (javaws) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jcontrol to
provide /usr/bin/jcontrol (jcontrol) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/appletviewer to
provide /usr/bin/appletviewer (appletviewer) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/extcheck to
provide /usr/bin/extcheck (extcheck) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/idlj to provide
/usr/bin/idlj (idlj) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jar to provide
/usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jarsigner to
provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javac to provide
/usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javadoc to
provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javafxpackager to
provide /usr/bin/javafxpackager (javafxpackager) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javah to provide
/usr/bin/javah (javah) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javap to provide
/usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javapackager to
provide /usr/bin/javapackager (javapackager) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jcmd to provide
/usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jconsole to
provide /usr/bin/jconsole (jconsole) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdb to provide
/usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdeps to provide
/usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jhat to provide
/usr/bin/jhat (jhat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jinfo to provide
/usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmap to provide
/usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmc to provide
/usr/bin/jmc (jmc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jps to provide
/usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jrunscript to
provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jsadebugd to
provide /usr/bin/jsadebugd (jsadebugd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstack to provide
/usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstat to provide
/usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstatd to provide
/usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jvisualvm to
provide /usr/bin/jvisualvm (jvisualvm) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/native2ascii to
provide /usr/bin/native2ascii (native2ascii) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/rmic to provide
/usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/schemagen to
provide /usr/bin/schemagen (schemagen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/serialver to
provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsgen to provide
/usr/bin/wsgen (wsgen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsimport to
provide /usr/bin/wsimport (wsimport) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/xjc to provide
/usr/bin/xjc (xjc) in auto mode
update-binfmts: warning: current package is openjdk-9, but binary format
already installed by openjdk-6
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so
to provide /usr/lib/mozilla/plugins/libjavaplugin.so
(mozilla-javaplugin.so) in auto mode
Oracle JDK 8 installed

#####Important########
To set Oracle JDK8 as default, install the "oracle-java8-set-default"
package.
E.g.: sudo apt install oracle-java8-set-default
On Ubuntu systems, oracle-java8-set-default is most probably installed
automatically with this package.
######################

Selecting previously unselected package oracle-java8-set-default.
(Reading database ... 1005698 files and directories currently installed.)
Preparing to unpack .../oracle-java8-set-default_8u171-1~webupd8~0_all.deb
...
Unpacking oracle-java8-set-default (8u171-1~webupd8~0) ...
Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ...
Downloading Oracle Java 7...
--2018-06-04 09:44:32-- http://download.oracle.com/
otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.48.156.77
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-
7u80-linux-x64.tar.gz [following]
--2018-06-04 09:44:32-- https://edelivery.oracle.com/
otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.39.16.136,
2600:1409:a:582::2d3e, 2600:1409:a:597::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.39.16.136|:443...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-
7u80-linux-x64.tar.gz?AuthParam=1528130792_eb214e9b7cb91abb3e7b1d90254c4581
[following]
--2018-06-04 09:44:32-- http://download.oracle.com/
otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1528130792_
eb214e9b7cb91abb3e7b1d90254c4581
Connecting to download.oracle.com (download.oracle.com)|23.48.156.77|:80...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-04 09:44:33 ERROR 404: Not Found.

download failed
Oracle JDK 7 is NOT installed.
dpkg: error processing package oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of oracle-jdk7-installer:
 oracle-jdk7-installer depends on oracle-java7-installer; however:
  Package oracle-java7-installer is not configured yet.

dpkg: error processing package oracle-jdk7-installer (--configure):
 dependency problems - leaving unconfigured
Setting up oracle-java8-set-default (8u171-1~webupd8~0) ...
No apport report written because the error message indicates its a followup
error from a previous failure.
                          Errors were encountered while processing:
 oracle-java7-installer
 oracle-jdk7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
farren@farren-All-Series:~$

On Mon, Jun 4, 2018 at 11:58 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #669966 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> Manfred Hampl requested more information:
> What command did you execute to receive this error message?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Maybe your problems with java7 and java9 are caused by the fact that these versions are not supported any more by oracle.
http://www.oracle.com/technetwork/java/javase/eol-135779.html

Revision history for this message
Farren Dilon (ftdilon) said :
#5

OK that makes sense.
I'm just confirming ...
Have I created a mess? What version is this?
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

 Should I go ahead with ...

sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo apt install oracle-java10-installer

Thanks
farren

On Tue, Jun 5, 2018 at 1:46 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #669966 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Maybe your problems with java7 and java9 are caused by the fact that these
> versions are not supported any more by oracle.
> http://www.oracle.com/technetwork/java/javase/eol-135779.html
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/669966/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> You received this question notification because you asked the question.
>

Revision history for this message
Farren Dilon (ftdilon) said :
#6

 Tried the link you suggested ...

sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo apt install oracle-java10-installer

I can't tell what the following means ...
Java binaries are not hosted in this PPA due to licensing. The packages in
this PPA download and install Oracle Java 10 (JDK 10), so a working
Internet connection is required.
PPA for https://www.linuxuprising.com/
For feedback, see
https://www.linuxuprising.com/2018/04/install-oracle-java-10-in-ubuntu-or.html
 More info: https://launchpad.net/~linuxuprising/+archive/ubuntu/java
Press [ENTER] to continue or ctrl-c to cancel adding it

On Tue, Jun 5, 2018 at 2:22 PM, Farren Dilon <
<email address hidden>> wrote:

> Your question #669966 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> Status: Answered => Open
>
> You are still having a problem:
> OK that makes sense.
> I'm just confirming ...
> Have I created a mess? What version is this?
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
>
> Should I go ahead with ...
>
> sudo add-apt-repository ppa:linuxuprising/java
> sudo apt update
> sudo apt install oracle-java10-installer
>
> Thanks
> farren
>
> On Tue, Jun 5, 2018 at 1:46 PM, Manfred Hampl <
> <email address hidden>> wrote:
>
> > Your question #669966 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/669966
> >
> > Status: Open => Answered
> >
> > Manfred Hampl proposed the following answer:
> > Maybe your problems with java7 and java9 are caused by the fact that
> these
> > versions are not supported any more by oracle.
> > http://www.oracle.com/technetwork/java/javase/eol-135779.html
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> > https://answers.launchpad.net/ubuntu/+question/669966/+
> confirm?answer_id=3
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/669966
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Farren Dilon (ftdilon) said :
#7

I'm trying to correct error reports of "package operation failed" java
update.
It seems I have been abandoned...

There are dozens of "solutions" online.???

On Tue, Jun 5, 2018 at 2:47 PM, Farren Dilon <
<email address hidden>> wrote:

> Your question #669966 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> You gave more information on the question:
> Tried the link you suggested ...
>
>
> sudo add-apt-repository ppa:linuxuprising/java
> sudo apt update
> sudo apt install oracle-java10-installer
>
> I can't tell what the following means ...
> Java binaries are not hosted in this PPA due to licensing. The packages in
> this PPA download and install Oracle Java 10 (JDK 10), so a working
> Internet connection is required.
> PPA for https://www.linuxuprising.com/
> For feedback, see
> https://www.linuxuprising.com/2018/04/install-oracle-java-
> 10-in-ubuntu-or.html
> More info: https://launchpad.net/~linuxuprising/+archive/ubuntu/java
> Press [ENTER] to continue or ctrl-c to cancel adding it
>
>
> On Tue, Jun 5, 2018 at 2:22 PM, Farren Dilon <
> <email address hidden>> wrote:
>
> > Your question #669966 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/669966
> >
> > Status: Answered => Open
> >
> > You are still having a problem:
> > OK that makes sense.
> > I'm just confirming ...
> > Have I created a mess? What version is this?
> > java version "1.8.0_171"
> > Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> > Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> >
> > Should I go ahead with ...
> >
> > sudo add-apt-repository ppa:linuxuprising/java
> > sudo apt update
> > sudo apt install oracle-java10-installer
> >
> > Thanks
> > farren
> >
> > On Tue, Jun 5, 2018 at 1:46 PM, Manfred Hampl <
> > <email address hidden>> wrote:
> >
> > > Your question #669966 on Ubuntu changed:
> > > https://answers.launchpad.net/ubuntu/+question/669966
> > >
> > > Status: Open => Answered
> > >
> > > Manfred Hampl proposed the following answer:
> > > Maybe your problems with java7 and java9 are caused by the fact that
> > these
> > > versions are not supported any more by oracle.
> > > http://www.oracle.com/technetwork/java/javase/eol-135779.html
> > >
> > > --
> > > If this answers your question, please go to the following page to let
> us
> > > know that it is solved:
> > > https://answers.launchpad.net/ubuntu/+question/669966/+
> > confirm?answer_id=3
> > >
> > > If you still need help, you can reply to this email or go to the
> > > following page to enter your feedback:
> > > https://answers.launchpad.net/ubuntu/+question/669966
> > >
> > > You received this question notification because you asked the question.
> > >
> >
> > --
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

I would like to comment with a broader perspective:

There are two different java program families: openjdk (open source, http://openjdk.java.net/ ) and Oracle java (proprietary, to be licensed, with free licensing under some restrictions) .
You have to decide which family you want to use.

Openjdk can be packaged in the Ubuntu repositories, but Oracle java cannot (due to licensing restrictions). There are installers on Ubuntu that download Oracle java from the Oracle web pages after asking for confirmation of the licensing terms.

Oracle Java version 9 was supported only for a short time, and meanwhile has been replaced by version 10.
I have not checked how the Oracle Java 9 downloaders work, but I assume that they try downloading a file from the Oracle server which Oracle does not offer any more.

For further diagnostics, what is the output of the following commands:
uname -a
lsb_release -crid
apt-cache policy oracle-java7-installer oracle-java8-installer oracle-java9-installer oracle-java10-installer oracle-java11-installer

Revision history for this message
Farren Dilon (ftdilon) said :
#9

Hi Manfred
Here goes...

farren@farren-All-Series:~$ uname -a
Linux farren-All-Series 4.4.0-127-generic #153-Ubuntu SMP Sat May 19
10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
farren@farren-All-Series:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
farren@farren-All-Series:~$ apt-cache policy oracle-java7-installer
oracle-java8-installer oracle-java9-installer oracle-java10-installer
oracle-java11-installer
-
lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
farren@farren-All-Series:~$
-
apt-cache policy oracle-java7-installer oracle-java8-installer
oracle-java9-installer oracle-java10-installer oracle-java11-installer
oracle-java7-installer:
  Installed: (none)
  Candidate: (none)
  Version table:
     7u80+7u60arm-0~webupd8~1 0
        100 /var/lib/dpkg/status
oracle-java8-installer:
  Installed: 8u171-1~webupd8~0
  Candidate: 8u171-1~webupd8~0
  Version table:
 *** 8u171-1~webupd8~0 500
        500 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main
amd64 Packages
        500 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial/main
i386 Packages
        100 /var/lib/dpkg/status
oracle-java9-installer:
  Installed: (none)
  Candidate: 9.0.4-1
  Version table:
     9.0.4-1 500
        500 http://ppa.launchpad.net/linuxuprising/java/ubuntu xenial/main
amd64 Packages
        100 /var/lib/dpkg/status
oracle-java10-installer:
  Installed: 10.0.1-1~linuxuprising+1
  Candidate: 10.0.1-1~linuxuprising+1
  Version table:
 *** 10.0.1-1~linuxuprising+1 500
        500 http://ppa.launchpad.net/linuxuprising/java/ubuntu xenial/main
amd64 Packages
        100 /var/lib/dpkg/status
N: Unable to locate package oracle-java11-installer
farren@farren-All-Series:~$

On Wed, Jun 6, 2018 at 12:43 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #669966 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I would like to comment with a broader perspective:
>
> There are two different java program families: openjdk (open source,
> http://openjdk.java.net/ ) and Oracle java (proprietary, to be licensed,
> with free licensing under some restrictions) .
> You have to decide which family you want to use.
>
> Openjdk can be packaged in the Ubuntu repositories, but Oracle java
> cannot (due to licensing restrictions). There are installers on Ubuntu
> that download Oracle java from the Oracle web pages after asking for
> confirmation of the licensing terms.
>
> Oracle Java version 9 was supported only for a short time, and meanwhile
> has been replaced by version 10.
> I have not checked how the Oracle Java 9 downloaders work, but I assume
> that they try downloading a file from the Oracle server which Oracle does
> not offer any more.
>
> For further diagnostics, what is the output of the following commands:
> uname -a
> lsb_release -crid
> apt-cache policy oracle-java7-installer oracle-java8-installer
> oracle-java9-installer oracle-java10-installer oracle-java11-installer
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/669966
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

All the packages that you use are from PPAs.
The contents of a PPA lie fully in the responsibility of its provider. Please contact them if you have a problem with a package from a PPA.
In you case it's https://launchpad.net/~webupd8team and https://launchpad.net/~linuxuprising

Can you help with this problem?

Provide an answer of your own, or ask Farren Dilon for more information if necessary.

To post a message you must log in.