As you know, Openjdk is spammed through all main linux distributions. If you like Oracle (eh) or just want to have good old Sun java, not slow Openjdk…. and you are really lazy, check this out 🙂
All actions done as root:
j@jessie:/home/j# uname -a
Linux jessie 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux
root@jessie:/home/j# echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee /etc/apt/sources.list.d/webupd8team-java.list
deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
root@jessie:/home/j# echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
root@jessie:/home/j# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.Xcgz5WeZqd --no-auto-check-trustdb --trust-model always --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver keyserver.ubuntu.com --recv-keys EEA14886
gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
gpg: key EEA14886: public key "Launchpad VLC" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
root@jessie:
All import looks fine (keyserver ubuntu = hehe), let’s continue…
root@jessie:/home/j/Downloads/jdk1.8.0_05/bin# apt-get update
Hit http://ftp.cz.debian.org jessie InRelease
Hit http://ftp2.de.debian.org jessie-backports InRelease
Hit http://ftp.cz.debian.org jessie-updates InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.cz.debian.org jessie-backports InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit http://ftp.cz.debian.org jessie/main Sources/DiffIndex
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://ftp.cz.debian.org jessie/main amd64 Packages/DiffIndex
Hit http://ftp.cz.debian.org jessie/main Translation-en/DiffIndex
Hit http://ftp2.de.debian.org jessie-backports/main amd64 Packages
Get:2 http://ppa.launchpad.net precise Release [11.9 kB]
Hit http://ftp.cz.debian.org jessie-updates/main Sources
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp2.de.debian.org jessie-backports/non-free amd64 Packages
Hit http://ftp.cz.debian.org jessie-updates/main amd64 Packages
Hit http://ftp.cz.debian.org jessie-updates/main Translation-en
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://ftp2.de.debian.org jessie-backports/main Translation-en
Hit http://ftp.cz.debian.org jessie-backports/main Sources
Get:3 http://ppa.launchpad.net precise/main Sources [1,217 B]
Hit http://ftp.cz.debian.org jessie-backports/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://ftp2.de.debian.org jessie-backports/non-free Translation-en
Hit http://ftp.cz.debian.org jessie-backports/main Translation-en
Get:4 http://ppa.launchpad.net precise/main amd64 Packages [2,812 B]
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Fetched 16.2 kB in 1s (8,212 B/s)
Reading package lists… Done
root@jessie:/home/j# apt-get install oracle-java8-installer
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libatk-wrapper-java libatk-wrapper-java-jni libgconf2-4 libgif4 libgnome2-0 tzdata-java
Use ‚apt-get autoremove‘ to remove them.
The following extra packages will be installed:
gsfonts-x11
Suggested packages:
binfmt-support visualvm ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
The following NEW packages will be installed:
gsfonts-x11 oracle-java8-installer
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 29.5 kB of archives.
After this operation, 266 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.cz.debian.org/debian/ jessie/main gsfonts-x11 all 0.22 [10.6 kB]
Get:2 http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main oracle-java8-installer all 8u5-1~webupd8~2 [18.9 kB]
Fetched 29.5 kB in 0s (186 kB/s)
Preconfiguring packages …
Selecting previously unselected package oracle-java8-installer.
(Reading database … 113149 files and directories currently installed.)
Preparing to unpack …/oracle-java8-installer_8u5-1~webupd8~2_all.deb …
Unpacking oracle-java8-installer (8u5-1~webupd8~2) …
Selecting previously unselected package gsfonts-x11.
Preparing to unpack …/gsfonts-x11_0.22_all.deb …
Unpacking gsfonts-x11 (0.22) …
Processing triggers for gnome-menus (3.8.0-2) …
Processing triggers for desktop-file-utils (0.22-1) …
Processing triggers for mime-support (3.54) …
Processing triggers for shared-mime-info (1.2-1) …
Processing triggers for fontconfig (2.11.0-5) …
Setting up oracle-java8-installer (8u5-1~webupd8~2) …
Downloading Oracle Java 8…
–2014-04-26 19:11:48– http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)… 23.64.15.9, 23.64.15.11
Connecting to download.oracle.com (download.oracle.com)|23.64.15.9|:80… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz [following]
–2014-04-26 19:11:49– https://edelivery.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)… 23.55.230.140
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.55.230.140|:443… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz?AuthParam=1398532429_61e91ec77978f616625cb3b1e0f000ed [following]
–2014-04-26 19:11:49– http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz?AuthParam=1398532429_61e91ec77978f616625cb3b1e0f000ed
Connecting to download.oracle.com (download.oracle.com)|23.64.15.9|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 159008252 (152M) [application/x-gzip]
Saving to: ‘jdk-8u5-linux-x64.tar.gz’
0K …….. …….. …….. …….. …….. …….. 1% 1.91M 78s
3072K …….. …….. …….. …….. …….. …….. 3% 2.03M 74s
6144K …….. …….. …….. …….. …….. …….. 5% 1.96M 73s
9216K …….. …….. …….. …….. …….. …….. 7% 1.98M 71s
12288K …….. …….. …….. …….. …….. …….. 9% 2.01M 69s
15360K …….. …….. …….. …….. …….. …….. 11% 2.24M 66s
18432K …….. …….. …….. …….. …….. …….. 13% 1.98M 65s
21504K …….. …….. …….. …….. …….. …….. 15% 1.86M 64s
24576K …….. …….. …….. …….. …….. …….. 17% 2.00M 63s
27648K …….. …….. …….. …….. …….. …….. 19% 1.87M 62s
30720K …….. …….. …….. …….. …….. …….. 21% 1.81M 60s
33792K …….. …….. …….. …….. …….. …….. 23% 1.88M 59s
36864K …….. …….. …….. …….. …….. …….. 25% 1.96M 58s
39936K …….. …….. …….. …….. …….. …….. 27% 1.63M 57s
43008K …….. …….. …….. …….. …….. …….. 29% 1.76M 56s
46080K …….. …….. …….. …….. …….. …….. 31% 1.80M 54s
49152K …….. …….. …….. …….. …….. …….. 33% 1.60M 53s
52224K …….. …….. …….. …….. …….. …….. 35% 1.75M 52s
55296K …….. …….. …….. …….. …….. …….. 37% 1.69M 51s
58368K …….. …….. …….. …….. …….. …….. 39% 1.68M 49s
61440K …….. …….. …….. …….. …….. …….. 41% 1.71M 48s
64512K …….. …….. …….. …….. …….. …….. 43% 1.65M 47s
67584K …….. …….. …….. …….. …….. …….. 45% 1.67M 45s
70656K …….. …….. …….. …….. …….. …….. 47% 1.72M 44s
73728K …….. …….. …….. …….. …….. …….. 49% 1.84M 42s
76800K …….. …….. …….. …….. …….. …….. 51% 1.79M 40s
79872K …….. …….. …….. …….. …….. …….. 53% 1.91M 39s
82944K …….. …….. …….. …….. …….. …….. 55% 1.81M 37s
86016K …….. …….. …….. …….. …….. …….. 57% 1.66M 35s
89088K …….. …….. …….. …….. …….. …….. 59% 1.70M 34s
92160K …….. …….. …….. …….. …….. …….. 61% 1.90M 32s
95232K …….. …….. …….. …….. …….. …….. 63% 1.82M 31s
98304K …….. …….. …….. …….. …….. …….. 65% 1.73M 29s
101376K …….. …….. …….. …….. …….. …….. 67% 1.79M 27s
104448K …….. …….. …….. …….. …….. …….. 69% 1.86M 26s
107520K …….. …….. …….. …….. …….. …….. 71% 1.97M 24s
110592K …….. …….. …….. …….. …….. …….. 73% 1.95M 22s
113664K …….. …….. …….. …….. …….. …….. 75% 1.68M 21s
116736K …….. …….. …….. …….. …….. …….. 77% 1.69M 19s
119808K …….. …….. …….. …….. …….. …….. 79% 1.85M 17s
122880K …….. …….. …….. …….. …….. …….. 81% 1.67M 16s
125952K …….. …….. …….. …….. …….. …….. 83% 1.73M 14s
129024K …….. …….. …….. …….. …….. …….. 85% 1.58M 13s
132096K …….. …….. …….. …….. …….. …….. 87% 1.67M 11s
135168K …….. …….. …….. …….. …….. …….. 89% 1.70M 9s
138240K …….. …….. …….. …….. …….. …….. 91% 1.74M 8s
141312K …….. …….. …….. …….. …….. …….. 92% 1.74M 6s
144384K …….. …….. …….. …….. …….. …….. 94% 1.68M 4s
147456K …….. …….. …….. …….. …….. …….. 96% 1.35M 3s
150528K …….. …….. …….. …….. …….. …….. 98% 1.74M 1s
153600K …….. …….. …….. .. 100% 1.88M=85s
2014-04-26 19:13:14 (1.78 MB/s) – ‘jdk-8u5-linux-x64.tar.gz’ saved [159008252/159008252]
Download done.
Removing outdated cached downloads…
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
Oracle JDK 8 installed
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
Oracle JRE 8 browser plugin installed
Setting up gsfonts-x11 (0.22) …
root@jessie:/home/j# java -version
java version „1.8.0_05“
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
root@jessie:/home/j#
All done, I must say….. WOW! 🙂
-a-