Java JDK 11 - Ubuntu 18.04

1. Java JDK 11 - Ubuntu 18.04

José Vinícius
Jose-Araujo

(usa Ubuntu)

Enviado em 26/03/2021 - 17:43h

Estou com esse problema. Não sei porque.
O JDK está instalado, mas sempre que faço uma atualização aparece esse erro. Esse diretório oracle-jdk11-installer-local nem existe.

<pre>Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
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-java11-installer-local (11.0.10-1~linuxuprising0) ...
Before installing this package,
please download the Oracle JDK 11 .tar.gz file
with the same version as this package (version 11.0.4),
and place it in /var/cache/oracle-jdk11-installer-local,

E.g.:
sudo mkdir -p /var/cache/oracle-jdk11-installer-local
sudo cp jdk-11.0.4_linux-x64_bin.tar.gz /var/cache/oracle-jdk11-installer-local/
sha256sum mismatch jdk-11.0.10_linux-x64_bin.tar.gz
Oracle JDK 11 is NOT installed.
<b>dpkg:</b> error processing package oracle-java11-installer-local (--configure):
installed oracle-java11-installer-local package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
oracle-java11-installer-local
E: Sub-process /usr/bin/dpkg returned an error code (1)
</pre>
 



  


2. Re: Java JDK 11 - Ubuntu 18.04

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 26/03/2021 - 23:30h


Como vc instalou o jdk?


3. Re: Java JDK 11 - Ubuntu 18.04

José Vinícius
Jose-Araujo

(usa Ubuntu)

Enviado em 29/03/2021 - 12:40h

Eu tinha formatado meu notebook e instalei de novo o ubuntu e o jdk já tava instalado.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts