I'm trying to install openjdk on Ubuntu 16.04 Beta 2.
After the upgrade from beta 1 to beta 2, openjdk 8 was installed and openjdk 7 was removed. When trying to install openjdk 7 I get the following message:
Package openjdk-7-jdk is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or
is only available from another source
Oracle JDK is not an option for me and I have no problem install that. I need OpenJDK.
I have tried:
sudo apt-get update
- Rebuilding the sources.list from a link I found here in one of the posts.
- Downloading and completely reinstalling Ubuntu 16.04.
None of the above helped.