Jump to content
  • 0

Java error trying to install in debian 8


Question

Posted

Hi everyone i have problem whit java instal, i never get this error before, but now i get. Im installed using this guide: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8

 

 

Error: 

root@vps1129199:~# apt-get install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
oracle-java8-installer is already the newest version.
The following packages were automatically installed and are no longer required:
  libfontenc1 libfreetype6 libxfont1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up oracle-java8-installer (8u151-1~webupd8~0) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Using wget settings from /var/cache/oracle-jdk8-installer/wgetrc
Downloading Oracle Java 8...
converted 'http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz' (ANSI_X3.4-1968) -> 'http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz' (UTF-8)
--2018-01-22 12:37:06-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.59.96.79
Connecting to download.oracle.com (download.oracle.com)|23.59.96.79|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz [following]
converted 'https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz' (ANSI_X3.4-1968) -> 'https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz' (UTF-8)
--2018-01-22 12:37:06-- https://edelivery.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 2a02:26f0:f:19d::2d3e, 2a02:26f0:f:18e::2d3e, 23.59.110.4
Connecting to edelivery.oracle.com (edelivery.oracle.com)|2a02:26f0:f:19d::2d3e|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516617546_19a0618ea5123be159b554b9a000d90b [following]
converted 'http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516617546_19a0618ea5123be159b554b9a000d90b' (ANSI_X3.4-1968) -> 'http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516617546_19a0618ea5123be159b554b9a000d90b' (UTF-8)
--2018-01-22 12:37:06-- http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz?AuthParam=1516617546_19a0618ea5123be159b554b9a000d90b
Connecting to download.oracle.com (download.oracle.com)|23.59.96.79|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-22 12:37:06 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:
 oracle-java8-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
 

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...