viernes, 14 de junio de 2019

Instalar Java 8 , 11 en Ubuntu18.04

Instalar Java 8 , 11 en Ubuntu18.04


bext@bext-VPCF13WFX:~$ sudo apt update
[sudo] password for bext:
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://dl.google.com/linux/chrome/deb stable Release [943 B]            
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]   
Get:4 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]        
Hit:5 http://mx.archive.ubuntu.com/ubuntu bionic InRelease                    
Get:6 http://ppa.launchpad.net/videolan/master-daily/ubuntu bionic InRelease [15.4 kB]
Hit:8 https://download.docker.com/linux/ubuntu bionic InRelease               
Get:9 http://mx.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]  
Get:10 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1 108 B]
Hit:7 https://packages.cloud.google.com/apt kubernetes-xenial InRelease       
Hit:11 http://mx.archive.ubuntu.com/ubuntu bionic-backports InRelease         
Fetched 196 kB in 2s (80.0 kB/s)                    
Reading package lists... Done
Building dependency tree      
Reading state information... Done
36 packages can be upgraded. Run 'apt list --upgradable' to see them.
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ sudo apt install default-jdk
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  ca-certificates-java default-jdk-headless default-jre default-jre-headless
  fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni
  libgif7 libice-dev libpthread-stubs0-dev libsm-dev libx11-dev libx11-doc
  libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-11-jdk
  openjdk-11-jdk-headless openjdk-11-jre openjdk-11-jre-headless
  x11proto-core-dev x11proto-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
  libice-doc libsm-doc libxcb-doc libxt-doc openjdk-11-demo openjdk-11-source
  visualvm fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei
  | fonts-wqy-zenhei
The following NEW packages will be installed:
  ca-certificates-java default-jdk default-jdk-headless default-jre
  default-jre-headless fonts-dejavu-extra java-common libatk-wrapper-java
  libatk-wrapper-java-jni libgif7 libice-dev libpthread-stubs0-dev libsm-dev
  libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev
  openjdk-11-jdk openjdk-11-jdk-headless openjdk-11-jre
  openjdk-11-jre-headless x11proto-core-dev x11proto-dev xorg-sgml-doctools
  xtrans-dev
0 upgraded, 27 newly installed, 0 to remove and 36 not upgraded.
Need to get 231 MB of archives.
After this operation, 392 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 java-common all 0.68ubuntu1~18.04.1 [14.5 kB]
Get:2 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 openjdk-11-jre-headless amd64 11.0.3+7-1ubuntu2~18.04.1 [37.1 MB]
Get:3 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 default-jre-headless amd64 2:1.11-68ubuntu1~18.04.1 [10.9 kB]
Get:4 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 ca-certificates-java all 20180516ubuntu1~18.04.1 [12.2 kB]
Get:5 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libgif7 amd64 5.1.4-2 [30.6 kB]
Get:6 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 openjdk-11-jre amd64 11.0.3+7-1ubuntu2~18.04.1 [34.5 kB]
Get:7 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 default-jre amd64 2:1.11-68ubuntu1~18.04.1 [1 076 B]
Get:8 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 openjdk-11-jdk-headless amd64 11.0.3+7-1ubuntu2~18.04.1 [186 MB]
Get:9 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 default-jdk-headless amd64 2:1.11-68ubuntu1~18.04.1 [1 132 B]
Get:10 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 openjdk-11-jdk amd64 11.0.3+7-1ubuntu2~18.04.1 [1 622 kB]
Get:11 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 default-jdk amd64 2:1.11-68ubuntu1~18.04.1 [1 092 B]
Get:12 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 fonts-dejavu-extra all 2.37-1 [1 953 kB]
Get:13 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libatk-wrapper-java all 0.33.3-20ubuntu0.1 [34.7 kB]
Get:14 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libatk-wrapper-java-jni amd64 0.33.3-20ubuntu0.1 [28.3 kB]
Get:15 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 xorg-sgml-doctools all 1:1.11-1 [12.9 kB]
Get:16 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-dev all 2018.4-4 [251 kB]
Get:17 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-core-dev all 2018.4-4 [2 620 B]
Get:18 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libice-dev amd64 2:1.0.9-2 [46.8 kB]
Get:19 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libpthread-stubs0-dev amd64 0.3-4 [4 068 B]
Get:20 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libsm-dev amd64 2:1.2.2-1 [16.2 kB]
Get:21 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libxau-dev amd64 1:1.0.8-1 [11.1 kB]
Get:22 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libxdmcp-dev amd64 1:1.1.2-3 [25.1 kB]
Get:23 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 xtrans-dev all 1.3.5-1 [70.5 kB]
Get:24 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb1-dev amd64 1.13-2~ubuntu18.04 [80.0 kB]
Get:25 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-dev amd64 2:1.6.4-3ubuntu0.2 [640 kB]
Get:26 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libx11-doc all 2:1.6.4-3ubuntu0.2 [2 065 kB]
Get:27 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 libxt-dev amd64 1:1.1.5-1 [395 kB]
Fetched 231 MB in 2min 0s (1 918 kB/s)                                        
Selecting previously unselected package java-common.
(Reading database ... 169216 files and directories currently installed.)
Preparing to unpack .../00-java-common_0.68ubuntu1~18.04.1_all.deb ...
Unpacking java-common (0.68ubuntu1~18.04.1) ...
Selecting previously unselected package openjdk-11-jre-headless:amd64.
Preparing to unpack .../01-openjdk-11-jre-headless_11.0.3+7-1ubuntu2~18.04.1_amd64.deb ...
Unpacking openjdk-11-jre-headless:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
Selecting previously unselected package default-jre-headless.
Preparing to unpack .../02-default-jre-headless_2%3a1.11-68ubuntu1~18.04.1_amd64.deb ...
Unpacking default-jre-headless (2:1.11-68ubuntu1~18.04.1) ...
Selecting previously unselected package ca-certificates-java.
Preparing to unpack .../03-ca-certificates-java_20180516ubuntu1~18.04.1_all.deb ...
Unpacking ca-certificates-java (20180516ubuntu1~18.04.1) ...
Selecting previously unselected package libgif7:amd64.
Preparing to unpack .../04-libgif7_5.1.4-2_amd64.deb ...
Unpacking libgif7:amd64 (5.1.4-2) ...
Selecting previously unselected package openjdk-11-jre:amd64.
Preparing to unpack .../05-openjdk-11-jre_11.0.3+7-1ubuntu2~18.04.1_amd64.deb ...
Unpacking openjdk-11-jre:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
Selecting previously unselected package default-jre.
Preparing to unpack .../06-default-jre_2%3a1.11-68ubuntu1~18.04.1_amd64.deb ...
Unpacking default-jre (2:1.11-68ubuntu1~18.04.1) ...
Selecting previously unselected package openjdk-11-jdk-headless:amd64.
Preparing to unpack .../07-openjdk-11-jdk-headless_11.0.3+7-1ubuntu2~18.04.1_amd64.deb ...
Unpacking openjdk-11-jdk-headless:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
Selecting previously unselected package default-jdk-headless.
Preparing to unpack .../08-default-jdk-headless_2%3a1.11-68ubuntu1~18.04.1_amd64.deb ...
Unpacking default-jdk-headless (2:1.11-68ubuntu1~18.04.1) ...
Selecting previously unselected package openjdk-11-jdk:amd64.
Preparing to unpack .../09-openjdk-11-jdk_11.0.3+7-1ubuntu2~18.04.1_amd64.deb ...
Unpacking openjdk-11-jdk:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
Selecting previously unselected package default-jdk.
Preparing to unpack .../10-default-jdk_2%3a1.11-68ubuntu1~18.04.1_amd64.deb ...
Unpacking default-jdk (2:1.11-68ubuntu1~18.04.1) ...
Selecting previously unselected package fonts-dejavu-extra.
Preparing to unpack .../11-fonts-dejavu-extra_2.37-1_all.deb ...
Unpacking fonts-dejavu-extra (2.37-1) ...
Selecting previously unselected package libatk-wrapper-java.
Preparing to unpack .../12-libatk-wrapper-java_0.33.3-20ubuntu0.1_all.deb ...
Unpacking libatk-wrapper-java (0.33.3-20ubuntu0.1) ...
Selecting previously unselected package libatk-wrapper-java-jni:amd64.
Preparing to unpack .../13-libatk-wrapper-java-jni_0.33.3-20ubuntu0.1_amd64.deb ...
Unpacking libatk-wrapper-java-jni:amd64 (0.33.3-20ubuntu0.1) ...
Selecting previously unselected package xorg-sgml-doctools.
Preparing to unpack .../14-xorg-sgml-doctools_1%3a1.11-1_all.deb ...
Unpacking xorg-sgml-doctools (1:1.11-1) ...
Selecting previously unselected package x11proto-dev.
Preparing to unpack .../15-x11proto-dev_2018.4-4_all.deb ...
Unpacking x11proto-dev (2018.4-4) ...
Selecting previously unselected package x11proto-core-dev.
Preparing to unpack .../16-x11proto-core-dev_2018.4-4_all.deb ...
Unpacking x11proto-core-dev (2018.4-4) ...
Selecting previously unselected package libice-dev:amd64.
Preparing to unpack .../17-libice-dev_2%3a1.0.9-2_amd64.deb ...
Unpacking libice-dev:amd64 (2:1.0.9-2) ...
Selecting previously unselected package libpthread-stubs0-dev:amd64.
Preparing to unpack .../18-libpthread-stubs0-dev_0.3-4_amd64.deb ...
Unpacking libpthread-stubs0-dev:amd64 (0.3-4) ...
Selecting previously unselected package libsm-dev:amd64.
Preparing to unpack .../19-libsm-dev_2%3a1.2.2-1_amd64.deb ...
Unpacking libsm-dev:amd64 (2:1.2.2-1) ...
Selecting previously unselected package libxau-dev:amd64.
Preparing to unpack .../20-libxau-dev_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau-dev:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp-dev:amd64.
Preparing to unpack .../21-libxdmcp-dev_1%3a1.1.2-3_amd64.deb ...
Unpacking libxdmcp-dev:amd64 (1:1.1.2-3) ...
Selecting previously unselected package xtrans-dev.
Preparing to unpack .../22-xtrans-dev_1.3.5-1_all.deb ...
Unpacking xtrans-dev (1.3.5-1) ...
Selecting previously unselected package libxcb1-dev:amd64.
Preparing to unpack .../23-libxcb1-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb1-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libx11-dev:amd64.
Preparing to unpack .../24-libx11-dev_2%3a1.6.4-3ubuntu0.2_amd64.deb ...
Unpacking libx11-dev:amd64 (2:1.6.4-3ubuntu0.2) ...
Selecting previously unselected package libx11-doc.
Preparing to unpack .../25-libx11-doc_2%3a1.6.4-3ubuntu0.2_all.deb ...
Unpacking libx11-doc (2:1.6.4-3ubuntu0.2) ...
Selecting previously unselected package libxt-dev:amd64.
Preparing to unpack .../26-libxt-dev_1%3a1.1.5-1_amd64.deb ...
Unpacking libxt-dev:amd64 (1:1.1.5-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Setting up libpthread-stubs0-dev:amd64 (0.3-4) ...
Setting up xorg-sgml-doctools (1:1.11-1) ...
Setting up java-common (0.68ubuntu1~18.04.1) ...
Setting up libgif7:amd64 (5.1.4-2) ...
Setting up x11proto-dev (2018.4-4) ...
Setting up xtrans-dev (1.3.5-1) ...
Setting up libxdmcp-dev:amd64 (1:1.1.2-3) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libice-dev:amd64 (2:1.0.9-2) ...
Setting up libx11-doc (2:1.6.4-3ubuntu0.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Setting up fonts-dejavu-extra (2.37-1) ...
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Setting up libatk-wrapper-java (0.33.3-20ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
Setting up libsm-dev:amd64 (2:1.2.2-1) ...
Setting up x11proto-core-dev (2018.4-4) ...
Setting up libxau-dev:amd64 (1:1.0.8-1) ...
Setting up libatk-wrapper-java-jni:amd64 (0.33.3-20ubuntu0.1) ...
Setting up libxcb1-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libx11-dev:amd64 (2:1.6.4-3ubuntu0.2) ...
Setting up libxt-dev:amd64 (1:1.1.5-1) ...
Setting up openjdk-11-jre-headless:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
Setting up openjdk-11-jdk-headless:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jar to provide /usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/javap to provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeprscan to provide /usr/bin/jdeprscan (jdeprscan) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jimage to provide /usr/bin/jimage (jimage) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jlink to provide /usr/bin/jlink (jlink) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jmod to provide /usr/bin/jmod (jmod) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jps to provide /usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jshell to provide /usr/bin/jshell (jshell) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jaotc to provide /usr/bin/jaotc (jaotc) in auto mode
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jhsdb to provide /usr/bin/jhsdb (jhsdb) in auto mode
Setting up default-jre-headless (2:1.11-68ubuntu1~18.04.1) ...
Setting up default-jdk-headless (2:1.11-68ubuntu1~18.04.1) ...
Setting up openjdk-11-jre:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
Setting up ca-certificates-java (20180516ubuntu1~18.04.1) ...
head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory
Adding debian:QuoVadis_Root_CA.pem
Adding debian:GeoTrust_Universal_CA.pem
Adding debian:EC-ACC.pem
Adding debian:TWCA_Global_Root_CA.pem
Adding debian:DigiCert_Trusted_Root_G4.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem
Adding debian:Comodo_AAA_Services_root.pem
Adding debian:CA_Disig_Root_R2.pem
Adding debian:Entrust_Root_Certification_Authority.pem
Adding debian:VeriSign_Universal_Root_Certification_Authority.pem
Adding debian:Staat_der_Nederlanden_Root_CA_-_G3.pem
Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem
Adding debian:QuoVadis_Root_CA_1_G3.pem
Adding debian:GeoTrust_Primary_Certification_Authority.pem
Adding debian:Security_Communication_RootCA2.pem
Adding debian:SecureSign_RootCA11.pem
Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem
Adding debian:Chambers_of_Commerce_Root_-_2008.pem
Adding debian:Visa_eCommerce_Root.pem
Adding debian:Buypass_Class_2_Root_CA.pem
Adding debian:AffirmTrust_Commercial.pem
Adding debian:DigiCert_Global_Root_G2.pem
Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem
Adding debian:TrustCor_RootCert_CA-2.pem
Adding debian:ACCVRAIZ1.pem
Adding debian:T-TeleSec_GlobalRoot_Class_3.pem
Adding debian:CFCA_EV_ROOT.pem
Adding debian:Cybertrust_Global_Root.pem
Adding debian:OpenTrust_Root_CA_G1.pem
Adding debian:QuoVadis_Root_CA_2_G3.pem
Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem
Adding debian:thawte_Primary_Root_CA_-_G2.pem
Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem
Adding debian:Amazon_Root_CA_4.pem
Adding debian:AffirmTrust_Premium_ECC.pem
Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem
Adding debian:GlobalSign_Root_CA.pem
Adding debian:TeliaSonera_Root_CA_v1.pem
Adding debian:TrustCor_ECA-1.pem
Adding debian:AffirmTrust_Premium.pem
Adding debian:Global_Chambersign_Root_-_2008.pem
Adding debian:Baltimore_CyberTrust_Root.pem
Adding debian:Certum_Trusted_Network_CA_2.pem
Adding debian:certSIGN_ROOT_CA.pem
Adding debian:Trustis_FPS_Root_CA.pem
Adding debian:thawte_Primary_Root_CA_-_G3.pem
Adding debian:Deutsche_Telekom_Root_CA_2.pem
Adding debian:T-TeleSec_GlobalRoot_Class_2.pem
Adding debian:Network_Solutions_Certificate_Authority.pem
Adding debian:Amazon_Root_CA_1.pem
Adding debian:Izenpe.com.pem
Adding debian:Certinomis_-_Root_CA.pem
Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem
Adding debian:ssl-cert-snakeoil.pem
Adding debian:OpenTrust_Root_CA_G3.pem
Adding debian:Entrust_Root_Certification_Authority_-_G2.pem
Adding debian:Hongkong_Post_Root_CA_1.pem
Adding debian:Certum_Trusted_Network_CA.pem
Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem
Adding debian:IdenTrust_Commercial_Root_CA_1.pem
Adding debian:GeoTrust_Universal_CA_2.pem
Adding debian:SecureTrust_CA.pem
Adding debian:DST_Root_CA_X3.pem
Adding debian:SSL.com_Root_Certification_Authority_RSA.pem
Adding debian:EE_Certification_Centre_Root_CA.pem
Adding debian:thawte_Primary_Root_CA.pem
Adding debian:TWCA_Root_Certification_Authority.pem
Adding debian:COMODO_RSA_Certification_Authority.pem
Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem
Adding debian:Security_Communication_Root_CA.pem
Adding debian:DigiCert_Assured_ID_Root_G2.pem
Adding debian:AC_RAIZ_FNMT-RCM.pem
Adding debian:OISTE_WISeKey_Global_Root_GA_CA.pem
Adding debian:GeoTrust_Primary_Certification_Authority_-_G2.pem
Adding debian:Sonera_Class_2_Root_CA.pem
Adding debian:E-Tugra_Certification_Authority.pem
Adding debian:Secure_Global_CA.pem
Adding debian:Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem
Adding debian:Taiwan_GRCA.pem
Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem
Adding debian:OpenTrust_Root_CA_G2.pem
Adding debian:Staat_der_Nederlanden_Root_CA_-_G2.pem
Adding debian:GeoTrust_Primary_Certification_Authority_-_G3.pem
Adding debian:Staat_der_Nederlanden_EV_Root_CA.pem
Adding debian:Microsec_e-Szigno_Root_CA_2009.pem
Adding debian:COMODO_ECC_Certification_Authority.pem
Adding debian:QuoVadis_Root_CA_3.pem
Adding debian:XRamp_Global_CA_Root.pem
Adding debian:Certigna.pem
Adding debian:GDCA_TrustAUTH_R5_ROOT.pem
Adding debian:Starfield_Class_2_CA.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem
Adding debian:SwissSign_Silver_CA_-_G2.pem
Adding debian:Certplus_Root_CA_G2.pem
Adding debian:DigiCert_Assured_ID_Root_CA.pem
Adding debian:QuoVadis_Root_CA_3_G3.pem
Adding debian:AddTrust_External_Root.pem
Adding debian:Go_Daddy_Class_2_CA.pem
Adding debian:COMODO_Certification_Authority.pem
Adding debian:GeoTrust_Global_CA.pem
Adding debian:AffirmTrust_Networking.pem
Adding debian:DigiCert_Global_Root_CA.pem
Adding debian:Amazon_Root_CA_2.pem
Adding debian:SwissSign_Gold_CA_-_G2.pem
Adding debian:Buypass_Class_3_Root_CA.pem
Adding debian:USERTrust_RSA_Certification_Authority.pem
Adding debian:Certplus_Class_2_Primary_CA.pem
Adding debian:LuxTrust_Global_Root_2.pem
Adding debian:Certplus_Root_CA_G1.pem
Adding debian:SSL.com_Root_Certification_Authority_ECC.pem
Adding debian:TrustCor_RootCert_CA-1.pem
Adding debian:QuoVadis_Root_CA_2.pem
Adding debian:Amazon_Root_CA_3.pem
Adding debian:GlobalSign_Root_CA_-_R3.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem
Adding debian:ePKI_Root_Certification_Authority.pem
Adding debian:DigiCert_Global_Root_G3.pem
Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem
Adding debian:TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.pem
Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem
Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem
Adding debian:USERTrust_ECC_Certification_Authority.pem
Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem
Adding debian:DigiCert_Assured_ID_Root_G3.pem
Adding debian:VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem
Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem
Adding debian:SZAFIR_ROOT_CA2.pem
Adding debian:Actalis_Authentication_Root_CA.pem
Adding debian:GlobalSign_Root_CA_-_R2.pem
Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem
Adding debian:Atos_TrustedRoot_2011.pem
Adding debian:ISRG_Root_X1.pem
done.
Setting up default-jre (2:1.11-68ubuntu1~18.04.1) ...
Setting up openjdk-11-jdk:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
update-alternatives: using /usr/lib/jvm/java-11-openjdk-amd64/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
Setting up default-jdk (2:1.11-68ubuntu1~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

done.
done.
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ sudo apt update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release                    
Hit:3 http://mx.archive.ubuntu.com/ubuntu bionic InRelease                    
Get:5 http://mx.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]  
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]   
Hit:7 http://mx.archive.ubuntu.com/ubuntu bionic-backports InRelease          
Hit:8 https://download.docker.com/linux/ubuntu bionic InRelease               
Hit:10 http://ppa.launchpad.net/videolan/master-daily/ubuntu bionic InRelease 
Hit:9 https://packages.cloud.google.com/apt kubernetes-xenial InRelease       
Fetched 177 kB in 4s (46.4 kB/s)                                              
Reading package lists... Done
Building dependency tree      
Reading state information... Done
36 packages can be upgraded. Run 'apt list --upgradable' to see them.
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ sudo apt install openjdk-8-jdk
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless
Suggested packages:
  openjdk-8-demo openjdk-8-source visualvm icedtea-8-plugin
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei
  fonts-wqy-zenhei
The following NEW packages will be installed:
  openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless
0 upgraded, 4 newly installed, 0 to remove and 36 not upgraded.
Need to get 37.1 MB of archives.
After this operation, 141 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mx.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 openjdk-8-jre-headless amd64 8u212-b03-0ubuntu1.18.04.1 [27.3 MB]
Get:2 http://mx.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 openjdk-8-jre amd64 8u212-b03-0ubuntu1.18.04.1 [69.4 kB]
Get:3 http://mx.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 openjdk-8-jdk-headless amd64 8u212-b03-0ubuntu1.18.04.1 [8 252 kB]
Get:4 http://mx.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 openjdk-8-jdk amd64 8u212-b03-0ubuntu1.18.04.1 [1 483 kB]
Fetched 37.1 MB in 20s (1 849 kB/s)                                           
Selecting previously unselected package openjdk-8-jre-headless:amd64.
(Reading database ... 171333 files and directories currently installed.)
Preparing to unpack .../openjdk-8-jre-headless_8u212-b03-0ubuntu1.18.04.1_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
Selecting previously unselected package openjdk-8-jre:amd64.
Preparing to unpack .../openjdk-8-jre_8u212-b03-0ubuntu1.18.04.1_amd64.deb ...
Unpacking openjdk-8-jre:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
Selecting previously unselected package openjdk-8-jdk-headless:amd64.
Preparing to unpack .../openjdk-8-jdk-headless_8u212-b03-0ubuntu1.18.04.1_amd64.deb ...
Unpacking openjdk-8-jdk-headless:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
Selecting previously unselected package openjdk-8-jdk:amd64.
Preparing to unpack .../openjdk-8-jdk_8u212-b03-0ubuntu1.18.04.1_amd64.deb ...
Unpacking openjdk-8-jdk:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up openjdk-8-jre-headless:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/clhsdb to provide /usr/bin/clhsdb (clhsdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/hsdb to provide /usr/bin/hsdb (hsdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
Setting up openjdk-8-jdk-headless:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/javah to provide /usr/bin/javah (javah) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
Setting up openjdk-8-jre:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
Setting up openjdk-8-jdk:amd64 (8u212-b03-0ubuntu1.18.04.1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
Processing triggers for libc-bin (2.27-3ubuntu1) ...
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ java --version
openjdk 11.0.3 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      auto mode
* 1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      manual mode
  2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)
bext@bext-VPCF13WFX:~$
 
Instalar Oracle Java 11 en Ubuntu 18.04




bext@bext-VPCF13WFX:~$ sudo apt install software-properties-common
Reading package lists... Done
Building dependency tree      
Reading state information... Done
software-properties-common is already the newest version (0.96.24.32.9).
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
bext@bext-VPCF13WFX:~$

Agregamos al repositorio de actualizanes la fuente
bext@bext-VPCF13WFX:~$ sudo add-apt-repository ppa:linuxuprising/java
 Oracle Java 11 (LTS) and 12 installer for Ubuntu, Linux Mint and Debian.

Java binaries are not hosted in this PPA due to licensing. The packages in this PPA download and install Oracle Java 11, so a working Internet connection is required.

The packages in this PPA are based on the WebUpd8 Oracle Java PPA packages: https://launchpad.net/~webupd8team/+archive/ubuntu/java

Created for users of https://www.linuxuprising.com/

Installation instructions (with some tips), feedback, suggestions, bug reports etc.:

Oracle Java 11: https://www.linuxuprising.com/2018/10/how-to-install-oracle-java-11-in-ubuntu.html
Oracle Java 12: https://www.linuxuprising.com/2019/03/how-to-install-oracle-java-12-jdk-12-in.html

Important notice regarding Oracle Java 11: the Oracle JDK license has changed starting April 16, 2019. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. A FAQ is available here: https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html . After this change, new Oracle Java 11 releases (11.0.3 and newer) require signing in using an Oracle account to download the binaries, so I can't update the PPA with new packages (the last version in the PPA being 11.0.2). If you want to continue using newer Oracle Java 11 versions, and you have an Oracle account so you can download newer Oracle Java builds, see this article: https://www.linuxuprising.com/2019/02/install-any-oracle-java-jdk-version-in.html

About Oracle Java 10: This version reached the end of public updates, therefore it's no longer available for download. The Oracle Java 10 packages in this PPA no longer worked due to this, so I have removed them. Switch to Oracle Java 11 or OpenJDK 11 instead, which is long term support.
 More info: https://launchpad.net/~linuxuprising/+archive/ubuntu/java
Press [ENTER] to continue or Ctrl-c to cancel adding it.





Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]   
Hit:1 https://packages.cloud.google.com/apt kubernetes-xenial InRelease       
Hit:3 https://download.docker.com/linux/ubuntu bionic InRelease               
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease                  
Hit:5 http://dl.google.com/linux/chrome/deb stable Release                    
Get:7 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease [15.9 kB]
Hit:8 http://mx.archive.ubuntu.com/ubuntu bionic InRelease                    
Get:9 http://mx.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]  
Hit:10 http://ppa.launchpad.net/videolan/master-daily/ubuntu bionic InRelease 
Hit:11 http://mx.archive.ubuntu.com/ubuntu bionic-backports InRelease         
Get:12 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic/main amd64 Packages [1 768 B]
Get:13 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic/main Translation-en [676 B]
Fetched 196 kB in 11s (18.3 kB/s)                                             
Reading package lists... Done
bext@bext-VPCF13WFX:~$

bext@bext-VPCF13WFX:~$ sudo apt update
Hit:2 http://mx.archive.ubuntu.com/ubuntu bionic InRelease                    
Get:3 http://mx.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]  
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease               
Hit:1 https://packages.cloud.google.com/apt kubernetes-xenial InRelease       
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]   
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease                  
Hit:7 http://dl.google.com/linux/chrome/deb stable Release                    
Hit:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease     
Hit:9 http://mx.archive.ubuntu.com/ubuntu bionic-backports InRelease          
Hit:11 http://ppa.launchpad.net/videolan/master-daily/ubuntu bionic InRelease 
Fetched 177 kB in 3s (58.2 kB/s)                                              
Reading package lists... Done
Building dependency tree     bext@bext-VPCF13WFX:~$ java --version
java 11.0.2 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
bext@bext-VPCF13WFX:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-11-oracle/bin/java             1091      auto mode
* 1            /usr/lib/jvm/java-11-oracle/bin/java             1091      manual mode
  2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

Press <enter> to keep the current choice[*], or type selection number:
 
Reading state information... Done
36 packages can be upgraded. Run 'apt list --upgradable' to see them.
bext@bext-VPCF13WFX:~$

Asignar la variable de ambiente $JAVA_HOME a la version default

 copiamos el path donde se ubica la version de java deseada
  /usr/lib/jvm/java-11-oracle

la agregamos al final
JAVA_HOME="/usr/lib/jvm/java-11-oracle"


bext@bext-VPCF13WFX:~$ sudo nano /etc/environment
bext@bext-VPCF13WFX:~$

verificamos si tomo la variable JAVA_HOME

bext@bext-VPCF13WFX:~$ echo $JAVA_HOME

bext@bext-VPCF13WFX:~$ source /etc/environment
bext@bext-VPCF13WFX:~$ echo $JAVA_HOME
/usr/lib/jvm/java-11-oracle
bext@bext-VPCF13WFX:~$


Vamos a desinstalar openjdk11 ya que lo sustituyo el de oracle
buscamos como se llama el paquete openjava11


bext@bext-VPCF13WFX:~$ apt list openj*
Listing... Done
openjade/bionic 1.4devel1-21.3 amd64
openjdk-11-dbg/bionic-updates,bionic-security 11.0.3+7-1ubuntu2~18.04.1 amd64
openjdk-11-demo/bionic-updates,bionic-security 11.0.3+7-1ubuntu2~18.04.1 amd64
openjdk-11-doc/bionic-updates,bionic-updates,bionic-security,bionic-security 11.0.3+7-1ubuntu2~18.04.1 all
openjdk-11-jdk/bionic-updates,bionic-security 11.0.3+7-1ubuntu2~18.04.1 amd64
openjdk-11-jdk-headless/bionic-updates,bionic-security 11.0.3+7-1ubuntu2~18.04.1 amd64
openjdk-11-jre/bionic-updates,bionic-security 11.0.3+7-1ubuntu2~18.04.1 amd64
openjdk-11-jre-dcevm/bionic-updates,bionic-security 11.0.1+8-1~18.04.1 amd64
openjdk-11-jre-headless/bionic-updates,bionic-security,now 11.0.3+7-1ubuntu2~18.04.1 amd64 [residual-config]
openjdk-11-jre-zero/bionic-updates,bionic-security 11.0.3+7-1ubuntu2~18.04.1 amd64
openjdk-11-source/bionic-updates,bionic-updates,bionic-security,bionic-security 11.0.3+7-1ubuntu2~18.04.1 all
openjdk-8-dbg/bionic-updates,bionic-security 8u212-b03-0ubuntu1.18.04.1 amd64
openjdk-8-demo/bionic-updates,bionic-sec...

bext@bext-VPCF13WFX:~$ sudo apt-get remove --auto-remove openjdk-11*
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'openjdk-11-demo' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-source' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre-headless' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-dbg' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-doc' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jdk' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre-zero' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre-dcevm' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jdk-headless' for glob 'openjdk-11*'
Package 'openjdk-11-dbg' is not installed, so not removed
Package 'openjdk-11-doc' is not installed, so not removed
Package 'openjdk-11-jdk' is not installed, so not removed
Package 'openjdk-11-jdk-headless' is not installed, so not removed
Package 'openjdk-11-jre' is not installed, so not removed
Package 'openjdk-11-jre-headless' is not installed, so not removed
Package 'openjdk-11-source' is not installed, so not removed
Package 'openjdk-11-demo' is not installed, so not removed
Package 'openjdk-11-jre-dcevm' is not installed, so not removed
Package 'openjdk-11-jre-zero' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
bext@bext-VPCF13WFX:~$ sudo apt-get purge --auto-remove openjdk-11*
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'openjdk-11-demo' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-source' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre-headless' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-dbg' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-doc' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jdk' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre-zero' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jre-dcevm' for glob 'openjdk-11*'
Note, selecting 'openjdk-11-jdk-headless' for glob 'openjdk-11*'
Package 'openjdk-11-dbg' is not installed, so not removed
Package 'openjdk-11-doc' is not installed, so not removed
Package 'openjdk-11-jdk' is not installed, so not removed
Package 'openjdk-11-jdk-headless' is not installed, so not removed
Package 'openjdk-11-jre' is not installed, so not removed
Package 'openjdk-11-source' is not installed, so not removed
Package 'openjdk-11-demo' is not installed, so not removed
Package 'openjdk-11-jre-dcevm' is not installed, so not removed
Package 'openjdk-11-jre-zero' is not installed, so not removed
The following packages will be REMOVED:
  openjdk-11-jre-headless*
0 upgraded, 0 newly installed, 1 to remove and 36 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 171312 files and directories currently installed.)
Purging configuration files for openjdk-11-jre-headless:amd64 (11.0.3+7-1ubuntu2~18.04.1) ...
bext@bext-VPCF13WFX:~$





No hay comentarios:

Publicar un comentario