Oracle Java 9 安装程序在 Ubuntu 16.04 中失败

Oracle Java 9 安装程序在 Ubuntu 16.04 中失败

我是 Ubuntu 新手

我尝试过这个:

sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java9-installer

但失败了:

download failed
Oracle JDK 9 is NOT installed.
dpkg: error processing package oracle-java9-installer (--configure):
subprocess installed post-installation script returned error exit status >1
Errors were encountered while processing:
oracle-java9-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)

谁能帮我?

相关内容