E: Package 'oracle-java8-installer' has no installation candidate

后端 未结 4 2068
执笔经年
执笔经年 2021-01-31 08:41

I tried to install java8 using the following commands:

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


        
4条回答
  •  心在旅途
    2021-01-31 09:28

    I was facing the same issue and resolved with this:\

    sudo apt install openjdk-8-jdk
    

提交回复
热议问题