Estou tentando instalar o Open JRE 8, mas ele diz isso e não instala [duplicado]

0

Eu tentei instalar o Open JRE 8 após isso , mas ocorreu um erro. Isso é o que acontece quando eu faço isso.

# apt-get install openjdk-8-jre  
Reading package lists... Done  
Building dependency tree  
Reading state information... Done  
openjdk-8-jre is already the newest version (8u151-b12-0ubuntu0.16.04.2).  
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-java7-installer (7u80+7u60arm-0~webupd8~1) ...  
Downloading Oracle Java 7...  
--2018-02-10 02:37:00--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz  
Resolving download.oracle.com (download.oracle.com)... 23.45.100.92  
Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|: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-02-10 02:37:00--  https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz  
Resolving edelivery.oracle.com (edelivery.oracle.com)... 104.109.81.24, 2a02:26f0:10:290::2d3e, 2a02:26f0:10:294::2d3e  
Connecting to edelivery.oracle.com (edelivery.oracle.com)|104.109.81.24|: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=1518226740_e8a44114a192afe1bcec53b144358538 [following]  
--2018-02-10 02:37:00--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1518226740_e8a44114a192afe1bcec53b144358538  
Connecting to download.oracle.com (download.oracle.com)|23.45.100.92|:80... connected.  
HTTP request sent, awaiting response... 404 Not Found  
2018-02-10 02:37:02 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  
Errors were encountered while processing:  
 oracle-java7-installer  
E: Sub-process /usr/bin/dpkg returned an error code (1)  
    
por Lenny McLennington 10.02.2018 / 02:43

1 resposta

0

No log do terminal, você já tem o openjdk8 instalado. você pode verificar digitando

java -version

você deve ver uma resposta como essa

java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)

Acredito que você tenha várias versões do java em execução e sua máquina está tentando buscar uma atualização.

    
por chized 10.02.2018 / 04:30