Não consigo instalar o Java!

1. Não consigo instalar o Java!

Rodrigo
rodrigodido

(usa Ubuntu)

Enviado em 03/10/2016 - 18:28h

Pessoal, não consegui instalar o Java no meu Ubuntu 14.04 LTS, não consegue conectar e para nesta linha.

Conectando-se a edelivery.oracle.com (edelivery.oracle.com)|184.85.132.29|:443... falhou: Tempo esgotado para conexão.

Alguém consegue me ajudar?

Segue relatório completo do terminal

- for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

Debian installation instructions:
- Oracle Java 7: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html
- Oracle Java 8: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

Oracle Java 9 (for both Ubuntu and Debian): http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html

For JDK9, the PPA uses standard builds from: https://jdk9.java.net/download/ (and not the Jigsaw builds!).

Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian): http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
Mais informações: https://launchpad.net/~webupd8team/+archive/ubuntu/java
Pressione [ENTER] para continuar ou ctrl-c para cancelar a adição

gpg: chaveiro `/tmp/tmplea0ivsy/secring.gpg' criado
gpg: chaveiro `/tmp/tmplea0ivsy/pubring.gpg' criado
gpg: requisitando chave EEA14886 de servidor hkp - keyserver.ubuntu.com
gpg: /tmp/tmplea0ivsy/trustdb.gpg: banco de dados de confiabilidade criado
gpg: chave EEA14886: chave pública "Launchpad VLC" importada
gpg: ultimamente não encontradas chaves confiáveis
gpg: Número total processado: 1
gpg: importados: 1 (RSA: 1)
OK
piloto@piloto-PC:~$ sudo apt-get update
Ign http://br.archive.ubuntu.com trusty InRelease
Atingido http://br.archive.ubuntu.com trusty-updates InRelease
Atingido http://br.archive.ubuntu.com trusty-backports InRelease
Atingido http://br.archive.ubuntu.com trusty Release.gpg
Atingido http://br.archive.ubuntu.com trusty Release
Atingido http://br.archive.ubuntu.com trusty-updates/main Sources
Atingido http://br.archive.ubuntu.com trusty-updates/restricted Sources
Atingido http://br.archive.ubuntu.com trusty-updates/universe Sources
Atingido http://br.archive.ubuntu.com trusty-updates/multiverse Sources
Atingido http://br.archive.ubuntu.com trusty-updates/main amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/universe amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/main i386 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/restricted i386 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/universe i386 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com trusty-updates/main Translation-en
Atingido http://br.archive.ubuntu.com trusty-updates/multiverse Translation-en
Atingido http://br.archive.ubuntu.com trusty-updates/restricted Translation-en
Atingido http://br.archive.ubuntu.com trusty-updates/universe Translation-en
Atingido http://br.archive.ubuntu.com trusty-backports/main Sources
Atingido http://br.archive.ubuntu.com trusty-backports/restricted Sources
Atingido http://br.archive.ubuntu.com trusty-backports/universe Sources
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse Sources
Atingido http://br.archive.ubuntu.com trusty-backports/main amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/universe amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/main i386 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/restricted i386 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/universe i386 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com trusty-backports/main Translation-en
Atingido http://br.archive.ubuntu.com trusty-backports/multiverse Translation-en
Atingido http://br.archive.ubuntu.com trusty-backports/restricted Translation-en
Atingido http://br.archive.ubuntu.com trusty-backports/universe Translation-en
Atingido http://br.archive.ubuntu.com trusty/main Sources
Atingido http://br.archive.ubuntu.com trusty/restricted Sources
Atingido http://br.archive.ubuntu.com trusty/universe Sources
Atingido http://br.archive.ubuntu.com trusty/multiverse Sources
Atingido http://br.archive.ubuntu.com trusty/main amd64 Packages
Atingido http://br.archive.ubuntu.com trusty/restricted amd64 Packages
Ign http://extras.ubuntu.com trusty InRelease
Atingido http://br.archive.ubuntu.com trusty/universe amd64 Packages
Atingido http://br.archive.ubuntu.com trusty/multiverse amd64 Packages
Atingido http://br.archive.ubuntu.com trusty/main i386 Packages
Atingido http://br.archive.ubuntu.com trusty/restricted i386 Packages
Atingido http://ppa.launchpad.net trusty InRelease
Atingido http://security.ubuntu.com trusty-security InRelease
Atingido http://br.archive.ubuntu.com trusty/universe i386 Packages
Atingido http://br.archive.ubuntu.com trusty/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com trusty/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com trusty/main Translation-pt
Atingido http://br.archive.ubuntu.com trusty/main Translation-en
Atingido http://br.archive.ubuntu.com trusty/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com trusty/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com trusty/multiverse Translation-en
Atingido http://br.archive.ubuntu.com trusty/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com trusty/restricted Translation-pt
Atingido http://br.archive.ubuntu.com trusty/restricted Translation-en
Atingido http://br.archive.ubuntu.com trusty/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com trusty/universe Translation-pt
Atingido http://br.archive.ubuntu.com trusty/universe Translation-en
Atingido http://extras.ubuntu.com trusty Release.gpg
Atingido http://ppa.launchpad.net trusty/main amd64 Packages
Atingido http://security.ubuntu.com trusty-security/main Sources
Atingido http://extras.ubuntu.com trusty Release
Atingido http://ppa.launchpad.net trusty/main i386 Packages
Atingido http://security.ubuntu.com trusty-security/restricted Sources
Atingido http://extras.ubuntu.com trusty/main Sources
Atingido http://ppa.launchpad.net trusty/main Translation-en
Atingido http://security.ubuntu.com trusty-security/universe Sources
Atingido http://extras.ubuntu.com trusty/main amd64 Packages
Atingido http://security.ubuntu.com trusty-security/multiverse Sources
Atingido http://extras.ubuntu.com trusty/main i386 Packages
Atingido http://security.ubuntu.com trusty-security/main amd64 Packages
Atingido http://security.ubuntu.com trusty-security/restricted amd64 Packages
Atingido http://security.ubuntu.com trusty-security/universe amd64 Packages
Atingido http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Atingido http://security.ubuntu.com trusty-security/main i386 Packages
Atingido http://security.ubuntu.com trusty-security/restricted i386 Packages
Atingido http://security.ubuntu.com trusty-security/universe i386 Packages
Atingido http://security.ubuntu.com trusty-security/multiverse i386 Packages
Atingido http://security.ubuntu.com trusty-security/main Translation-en
Atingido http://security.ubuntu.com trusty-security/multiverse Translation-en
Atingido http://security.ubuntu.com trusty-security/restricted Translation-en
Atingido http://security.ubuntu.com trusty-security/universe Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-pt_BR
Ign http://extras.ubuntu.com trusty/main Translation-pt
Ign http://extras.ubuntu.com trusty/main Translation-en
Lendo listas de pacotes... Pronto
piloto@piloto-PC:~$ sudo apt-get install oracle-java8-installer
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
oracle-java8-installer já é a versão mais nova.
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
ca-certificates-java fonts-dejavu-extra icedtea-netx icedtea-netx-common
libatk-wrapper-java libatk-wrapper-java-jni libgif4 ttf-dejavu-extra
tzdata-java
Utilize 'apt-get autoremove' para os remover.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 694 não atualizados.
1 pacotes não totalmente instalados ou removidos.
Depois desta operação, 0 B adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] s
Configurando oracle-java8-installer (8u101+8u101arm-1~webupd8~2) ...
Using wget settings from /var/cache/oracle-jdk8-installer/wgetrc
Downloading Oracle Java 8...
--2016-10-03 18:08:15-- http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
Resolvendo download.oracle.com (download.oracle.com)... 187.59.4.43, 187.59.4.16
Conectando-se a download.oracle.com (download.oracle.com)|187.59.4.43|:80... conectado.
A requisição HTTP foi enviada, aguardando resposta... 302 Moved Temporarily
Localização: https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz [redirecionando]
--2016-10-03 18:08:15-- https://edelivery.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.tar.gz
Resolvendo edelivery.oracle.com (edelivery.oracle.com)... 184.85.132.29, 2600:1419:8:18a::2d3e, 2600:1419:8:189::2d3e
Conectando-se a edelivery.oracle.com (edelivery.oracle.com)|184.85.132.29|:443... falhou: Tempo esgotado para conexão.
Conectando-se a edelivery.oracle.com (edelivery.oracle.com)|2600:1419:8:18a::2d3e|:443... falhou: A rede está fora de alcance.
Conectando-se a edelivery.oracle.com (edelivery.oracle.com)|2600:1419:8:189::2d3e|:443... falhou: A rede está fora de alcance.
download failed
Oracle JDK 8 is NOT installed.
dpkg: erro ao processar o pacote oracle-java8-installer (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
oracle-java8-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
piloto@piloto-PC:~$ ^C
piloto@piloto-PC:~$



  


2. Re: Não consigo instalar o Java!

Perfil removido
removido

(usa Nenhuma)

Enviado em 03/10/2016 - 18:54h

Boa noite,

Que Java você quer colega? Eu vejo aí que o Java8 está instalado. Abra o Firefox e na URL sem os "www", digite:

about:plugins


Lá você deve ver que o mesmo está instalado. Se não, remova tudo e refaça seguindo este link:
http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/#

Usuário de Slackware 14.2 (KDE) e Salix 14.2 (XFCE)
GNU/Linux se resume em: Perfeição !!


3. Re: Não consigo instalar o Java!

Rodrigo
rodrigodido

(usa Ubuntu)

Enviado em 04/10/2016 - 15:46h

Jbaf, obrigado pela resposta.

Pior que não está instalado. Estou tentando instalar. No comando "about:plugins" não aparece o Java.
Quando eu tento instalar ele vai certinho até um certo ponto e ai aparece as seguintes mensagens:

"Conectando-se a edelivery.oracle.com (edelivery.oracle.com)|2600:1419:8:189::2d3e|:443... falhou: A rede está fora de alcance.
download failed
Oracle JDK 8 is NOT installed."

Não sei porque não consegue conectar a rede da oracle para baixar os pacotes de instalação!!!







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts