• 欢迎访问畅享前端

E: Unable to locate package openjdk-8-jre-headless

VPS lc_soul 4周前 (10-26) 90次浏览 扫描二维码

在ubuntu上安装JDK时遇到问题:

$ apt-get install openjdk-8-jre-headless

Reading package lists… Done

Building dependency tree

Reading state information… Done

E: Unable to locate package openjdk-8-jre-headless

 

解决:

add-apt-repository ppa:openjdk-r/ppa

apt-get update

apt-get install openjdk-8-jre-headless

 


畅享前端 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:E: Unable to locate package openjdk-8-jre-headless
喜欢 (0)