Advertisement
JoseBarakat

Desinstalación OpenJDK 7, Instalación Java JDK 7.

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