Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ubuntu 14.04 LTS 64-bits
- jose@jose-Lenovo-G400s:~$ sudo add-apt-repository ppa:webupd8team/java
- [sudo] password for jose:
- Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA.
- More info (and Ubuntu installation instructions):
- - for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
- - 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
- 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
- Más información: https://launchpad.net/~webupd8team/+archive/ubuntu/java
- Pulse [Intro] para continuar o ctrl-c para cancelar
- gpg: anillo «/tmp/tmpc827yzmd/secring.gpg» creado
- gpg: anillo «/tmp/tmpc827yzmd/pubring.gpg» creado
- gpg: solicitando clave EEA14886 de hkp servidor keyserver.ubuntu.com
- gpg: /tmp/tmpc827yzmd/trustdb.gpg: se ha creado base de datos de confianza
- gpg: clave EEA14886: clave pública "Launchpad VLC" importada
- gpg: Cantidad total procesada: 1
- gpg: importadas: 1 (RSA: 1)
- OK
- jose@jose-Lenovo-G400s:~$ jose@jose-Lenovo-G400s:~$ sudo apt-get install oracle-java7-installer
- Leyendo lista de paquetes... Hecho
- Creando árbol de dependencias
- Leyendo la información de estado... Hecho
- Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
- account-plugin-windows-live ca-certificates-java fonts-dejavu-extra
- libatk-wrapper-java libatk-wrapper-java-jni libgconf2-4 libupstart1
- openjdk-7-jre-headless tzdata-java
- Use 'apt-get autoremove' to remove them.
- Paquetes sugeridos:
- visualvm ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic
- ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
- Se instalarán los siguientes paquetes NUEVOS:
- oracle-java7-installer
- 0 actualizados, 1 se instalarán, 0 para eliminar y 0 no actualizados.
- 1 no instalados del todo o eliminados.
- Necesito descargar 22,4 kB de archivos.
- Se utilizarán 127 kB de espacio de disco adicional después de esta operación.
- Des:1 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java7-installer all 7u80+7u60arm-0~webupd8~1 [22,4 kB]
- Descargados 22,4 kB en 0seg. (39,7 kB/s)
- Preconfigurando paquetes ...
- Seleccionando el paquete oracle-java7-installer previamente no seleccionado.
- (Leyendo la base de datos ... 232743 ficheros o directorios instalados actualmente.)
- Preparing to unpack .../oracle-java7-installer_7u80+7u60arm-0~webupd8~1_all.deb ...
- oracle-license-v1-1 license has already been accepted
- Unpacking oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ...
- Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
- Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
- Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
- Rebuilding /usr/share/applications/bamf-2.index...
- Processing triggers for mime-support (3.54ubuntu1.1) ...
- Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
- Configurando jre1.8.0-45 (1.8.045-1) ...
- Unpacking JAR files...
- rt.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/rt.pack
- jsse.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/jsse.pack
- charsets.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/charsets.pack
- localedata.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/ext/localedata.pack
- jfxrt.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/ext/jfxrt.pack
- plugin.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/plugin.pack
- javaws.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/javaws.pack
- deploy.jar...
- Error: Could not open input file: /usr/java/jre1.8.0_45/lib/deploy.pack
- /var/lib/dpkg/info/jre1.8.0-45.postinst: línea 641: /usr/sbin/alternatives: No existe el archivo o el directorio
- dpkg: error al procesar el paquete jre1.8.0-45 (--configure):
- el subproceso instalado el script post-installation devolvió el código de salida de error 127
- Configurando oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ...
- Downloading Oracle Java 7...
- --2015-07-16 06:30:32-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz
- Resolviendo download.oracle.com (download.oracle.com)... 181.49.20.225, 181.49.20.218
- Conectando con download.oracle.com (download.oracle.com)[181.49.20.225]:80... conectado.
- Petición HTTP enviada, esperando respuesta... 302 Moved Temporarily
- Ubicación: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [siguiente]
- --2015-07-16 06:30:32-- https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz
- Resolviendo edelivery.oracle.com (edelivery.oracle.com)... 23.32.201.176
- Conectando con edelivery.oracle.com (edelivery.oracle.com)[23.32.201.176]:443... conectado.
- Petición HTTP enviada, esperando respuesta... 302 Moved Temporarily
- Ubicación: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1437046353_283c1c11e88230c499fd88b0a2cf3aee [siguiente]
- --2015-07-16 06:30:33-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1437046353_283c1c11e88230c499fd88b0a2cf3aee
- Conectando con download.oracle.com (download.oracle.com)[181.49.20.225]:80... conectado.
- Petición HTTP enviada, esperando respuesta... 200 OK
- Longitud: 153530841 (146M) [application/x-gzip]
- Grabando a: “jdk-7u80-linux-x64.tar.gz”
- 0K ........ ........ ........ ........ ........ ........ 2% 636K 3m51s
- 3072K ........ ........ ........ ........ ........ ........ 4% 636K 3m46s
- 6144K ........ ........ ........ ........ ........ ........ 6% 633K 3m42s
- 9216K ........ ........ ........ ........ ........ ........ 8% 633K 3m37s
- 12288K ........ ........ ........ ........ ........ ........ 10% 637K 3m32s
- 15360K ........ ........ ........ ........ ........ ........ 12% 632K 3m27s
- 18432K ........ ........ ........ ........ ........ ........ 14% 625K 3m23s
- 21504K ........ ........ ........ ........ ........ ........ 16% 630K 3m18s
- 24576K ........ ........ ........ ........ ........ ........ 18% 617K 3m14s
- 27648K ........ ........ ........ ........ ........ ........ 20% 615K 3m9s
- 30720K ........ ........ ........ ........ ........ ........ 22% 632K 3m4s
- 33792K ........ ........ ........ ........ ........ ........ 24% 586K 3m1s
- 36864K ........ ........ ........ ........ ........ ........ 26% 636K 2m56s
- 39936K ........ ........ ........ ........ ........ ........ 28% 631K 2m51s
- 43008K ........ ........ ........ ........ ........ ........ 30% 633K 2m46s
- 46080K ........ ........ ........ ........ ........ ........ 32% 636K 2m41s
- 49152K ........ ........ ........ ........ ........ ........ 34% 625K 2m36s
- 52224K ........ ........ ........ ........ ........ ........ 36% 635K 2m31s
- 55296K ........ ........ ........ ........ ........ ........ 38% 631K 2m26s
- 58368K ........ ........ ........ ........ ........ ........ 40% 633K 2m21s
- 61440K ........ ........ ........ ........ ........ ........ 43% 636K 2m16s
- 64512K ........ ........ ........ ........ ........ ........ 45% 605K 2m11s
- 67584K ........ ........ ........ ........ ........ ........ 47% 605K 2m6s
- 70656K ........ ........ ........ ........ ........ ........ 49% 637K 2m2s
- 73728K ........ ........ ........ ........ ........ ........ 51% 631K 1m57s
- 76800K ........ ........ ........ ........ ........ ........ 53% 632K 1m52s
- 79872K ........ ........ ........ ........ ........ ........ 55% 636K 1m47s
- 82944K ........ ........ ........ ........ ........ ........ 57% 632K 1m42s
- 86016K ........ ........ ........ ........ ........ ........ 59% 624K 97s
- 89088K ........ ........ ........ ........ ........ ........ 61% 632K 92s
- 92160K ........ ........ ........ ........ ........ ........ 63% 629K 87s
- 95232K ........ ........ ........ ........ ........ ........ 65% 637K 82s
- 98304K ........ ........ ........ ........ ........ ........ 67% 635K 77s
- 101376K ........ ........ ........ ........ ........ ........ 69% 636K 72s
- 104448K ........ ........ ........ ........ ........ ........ 71% 637K 67s
- 107520K ........ ........ ........ ........ ........ ........ 73% 632K 63s
- 110592K ........ ........ ........ ........ ........ ........ 75% 636K 58s
- 113664K ........ ........ ........ ........ ........ ........ 77% 631K 53s
- 116736K ........ ........ ........ ........ ........ ........ 79% 634K 48s
- 119808K ........ ........ ........ ........ ........ ........ 81% 637K 43s
- 122880K ........ ........ ........ ........ ........ ........ 84% 632K 38s
- 125952K ........ ........ ........ ........ ........ ........ 86% 632K 33s
- 129024K ........ ........ ........ ........ ........ ........ 88% 595K 28s
- 132096K ........ ........ ........ ........ ........ ........ 90% 634K 23s
- 135168K ........ ........ ........ ........ ........ ........ 92% 638K 19s
- 138240K ........ ........ ........ ........ ........ ........ 94% 633K 14s
- 141312K ........ ........ ........ ........ ........ ........ 96% 587K 9s
- 144384K ........ ........ ........ ........ ........ ........ 98% 624K 4s
- 147456K ........ ........ ........ ........ ...... 100% 629K=3m59s
- 2015-07-16 06:34:32 (628 KB/s) - “jdk-7u80-linux-x64.tar.gz” guardado [153530841/153530841]
- Download done.
- Removing outdated cached downloads...
- update-alternatives: utilizando /usr/lib/jvm/java-7-oracle/jre/bin/java_vm para proveer /usr/bin/java_vm (java_vm) en modo automático
- update-binfmts: warning: current package is oracle-java8, but binary format already installed by openjdk-7
- Oracle JDK 7 installed
- Oracle JRE 7 browser plugin installed
- Se encontraron errores al procesar:
- jre1.8.0-45
- E: Sub-process /usr/bin/dpkg returned an error code (1)
- jose@jose-Lenovo-G400s:~$ java -version
- java version "1.8.0_45"
- Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
- Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement