[英]Error during the execution of command “sudo apt-get install oracle-java6-installer” in Ubuntu 16.04
I am getting the following error after execution of the command "sudo apt-get install oracle-java6-installer" 执行命令“ sudo apt-get install oracle-java6-installer”后出现以下错误
Note: I have an application which have the dependency in Java 6.I feel java 6 is obsolete. 注意:我有一个在Java 6中具有依赖性的应用程序。我觉得Java 6已过时。 But still is there any other way to install this.
但是仍然有其他方法可以安装它。
Setting up oracle-java6-installer (6u45-0~webupd8~8) ...
Downloading Oracle Java 6...
--2018-03-21 13:37:46-- http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
Resolving download.oracle.com (download.oracle.com)... 23.56.176.183
Connecting to download.oracle.com (download.oracle.com)|23.56.176.183|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin [following]
--2018-03-21 13:37:47-- https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.50.117.49, 2600:1417:75:199::2d3e, 2600:1417:75:19c::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.50.117.49|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1521619788_32d3144ce18a102db8f7ec93e2650e1c [following]
--2018-03-21 13:37:48-- http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin?AuthParam=1521619788_32d3144ce18a102db8f7ec93e2650e1c
Connecting to download.oracle.com (download.oracle.com)|23.56.176.183|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-21 13:37:50 ERROR 404: Not Found.
download failed
Oracle JDK 6 is NOT installed.
dpkg: error processing package oracle-java6-installer (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
oracle-java6-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.