[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: about installing Java



Quoting Jack Chuge <zhuge.jack@gmail.com>:

I want to install the latest version of Java on my debian desktop. Is
there any quick way like using a terminal command? Though, I think
debian is the most stable Linux distro I've ever used so far, on the
other hand, I'm a newby to it. Any support is appreciated.
--
I like hk.politics. ^_^


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] mbjhum$qop$3@dont-email.me">https://lists.debian.org/[🔎] mbjhum$qop$3@dont-email.me

Hi Jack,

This is hardly a let-me-google-this-for-you question. But, I did a little googling and arrived at this website which is what I would use if I wanted the latest Java on my machine:

http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

They say to run the following:
<code>
su -
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
exit
</code>


I hope you have root access to your machine. The instructions imply its use.

HTH,
Chris


Reply to: