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

前端 未结 8 1184
野性不改
野性不改 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:20

    If you get a

    sudo: add-apt-repository: command not found

    then you need to run the following command

    sudo apt-get install software-properties-common python-software-properties

提交回复
热议问题