Learning World

Home Archives
2018-03-22
Manual

How to install JDK on Ubuntu Cloud VM quickly

1. 添加apt-get 的repository源

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

2. 安装Oracle Java Installer

sudo apt-get install oracle-java8-installer

系统会将installer 默认下载到以下位置。

/var/cache/oracle-java8-installer

3. 设置安装的JDK为系统默认JDK

sudo update-java-alternatives -s java-8-oracle
Share
  • apt-get
  • ubuntu
Newer
native-base component interface and props
Older
ReactJS Learning

分类

  • FrontEnd1
  • Manual1

标签

  • apt-get1
  • ubuntu1

标签云

apt-get ubuntu

归档

  • 五月 20193
  • 四月 20195
  • 十月 20181
  • 三月 20183

最新文章

  • (no title)
  • (no title)
  • (no title)
  • (no title)
  • (no title)
© 2019 Archer Li
Powered by Hexo
Home Archives