OpenJDK 10 was non-LTS version of Java which has now its EOL in September, 2018. That means no future updates or fixes would be provided for this version. The JDK tarball can still be downloaded from OpenJDK archives and configured. To install OpeJDK 10 follow the steps below:
OpenJDK 10 was non-LTS version of Java which has now its EOL in September, 2018. That means no future updates or fixes would be provided for this version. The JDK tarball can still be downloaded from OpenJDK archives and configured. To install OpeJDK 10 follow the steps below:
Download the tarball
Unpack tar
Move the extracted folder to /usr/lib/jdk
Update alternatives
Configure
Verify the version
I solved this by manually downloading the files from here
https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa
Then I installed them like this:
sudo dpkg -i openjdk*.deb