I am running Ubuntu Server 18.04 and want to install opendjdk-8-jdk. I have tried doing these steps (referring to this).
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
But I am still getting this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openjdk-8-jdk
I specifically want openJDK rather than Oracle-Java-Kit that some repositories offer.
Thank you.
openjdk-8
. There's no package namedopenjdk-8-jdk
in that repo. – Nov 12 '18 at 01:33openjdk-11
for Ubuntu 18.04. But the guide is wrong anyway. – Nov 12 '18 at 01:44