当前位置: 代码迷 >> 综合 >> 【已解决】E: Package 'oracle-java8-installer' has no installation candidate
  详细解决方案

【已解决】E: Package 'oracle-java8-installer' has no installation candidate

热度:69   发布时间:2024-01-19 00:40:44.0

解决方法

#安装依赖
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update# 开始安装
sudo apt-get install oracle-java8-installer

参考链接:https://stackoverflow.com/questions/25289482/installing-jdk8-on-ubuntu-unable-to-locate-package-update-doesnt-fix

  相关解决方案