1. 程式人生 > >debian 安裝oracle提供的java8

debian 安裝oracle提供的java8

rust launchpad HP server ora apt-get nbsp AS sources

1.修改apt的源信息

vim /etc/apt/sources.list.d/java-8-debian.list
2.添加源信息
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
3.添加GPG key
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886

4.更新源並且下載oracle-java8
apt-get update
apt-get install oracle-java8-installer

參考信息: https://launchpad.net/~webupd8team/+archive/ubuntu/java

debian 安裝oracle提供的java8