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

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

    For those who had trouble with the apt-get, or with the long instruction. I solved it in a relatively painless way.

    1. Download the installer from here, or direct download link
    2. $ sudo dpkg -i oracle-java8-installer_8u51+8u51arm-1-webupd8-0_all.deb

提交回复
热议问题