Installing jdk8 on ubuntu- “unable to locate package” update doesn't fix

前端 未结 8 1186
野性不改
野性不改 2021-02-02 09:37

I\'ve been trying to install the jdk on my ubuntu after downloading it.

first I\'ve used: sudo apt-get update

then: sudo apt-get install jdk*

8条回答
  •  伪装坚强ぢ
    2021-02-02 10:16

    I used another repository for oracle java.

    sudo add-apt-repository ppa:linuxuprising/java
    sudo apt-get update
    
    sudo apt install  oracle-java11-installer
    

提交回复
热议问题