![安装 openjdk-7 时出错](https://linux22.com/image/1142028/%E5%AE%89%E8%A3%85%20openjdk-7%20%E6%97%B6%E5%87%BA%E9%94%99.png)
我尝试opendjk-7
按照建议的方式进行安装这里,但我收到此错误:
W: The repository 'http://ppa.launchpad.net/openjdk-r/ppa/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
没有适用于 Ubuntu 16.10 (Yakkety) 的软件包。检查openjdk-r/ppa/ubuntu/dists/. 尝试openjdk9
安装
sudo apt-get update
sudo apt-get install openjdk-9-jdk