Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
实体机试用15Beta版之系统应用之配置java环境(20151222)
15 RC专版(归档中)
1188
views ·
1
replies ·
To
floor
Go
llyy007
deepin
2015-12-23 06:03
Author
本帖最后由 llyy007 于 2015-12-22 22:30 编辑
(1)打开终端,如右端,在终端输入: sudo gedit /etc/apt/sources.list,打开文档编辑器,将下载地址源添加到sources.list中(如下),然后点“保存”(见插图001)
deb
http://ppa.launchpad.net/webupd8team/java/ubuntu
trusty main
deb-src
http://ppa.launchpad.net/webupd8team/java/ubuntu
trusty main
(2)打开终端,在终端输入:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
(见插图002)
(3)打开终端,在终端输入:
sudo apt-get update
(4)打开终端,在终端输入:
sudo apt-get install oracle-java8-installer
(见插图003)
(5)等待一段时间,即可完成java环境的安装。你可以在终端输入:
java
-version
(见插图004),看看安装是否成功,装的是java什么版本。
Reply
Like 0
Favorite
View the author
All Replies
cxbii
deepin
2015-12-23 21:36
#1
不建议自己加源,我们会把这个软件加到仓库的
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Ranking
Change
deepin donwloader don't catch download launch from browsers
deepin 23 internal testing update on December 20, 2024
Popular Events
More
(1)打开终端,如右端,在终端输入: sudo gedit /etc/apt/sources.list,打开文档编辑器,将下载地址源添加到sources.list中(如下),然后点“保存”(见插图001)
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
(2)打开终端,在终端输入: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 (见插图002)
(3)打开终端,在终端输入: sudo apt-get update
(4)打开终端,在终端输入: sudo apt-get install oracle-java8-installer (见插图003)
(5)等待一段时间,即可完成java环境的安装。你可以在终端输入: java -version (见插图004),看看安装是否成功,装的是java什么版本。