Chris Fisichella 於 2015-2-13 9:50 寫道:
Quoting Jack Chuge <zhuge.j...@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-requ...@lists.debian.org with a
subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 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
It seems it's not allowed sudo instead of su for calling root
permission. Sadly, I've not setup a su password. How to fix it? Thank you.
--
I like hk.politics. ^_^
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mbjq5p$b6b$1...@dont-email.me