Recently I installed oracle-java8-installer and when executing 'java -version' it returned me: java version "1.8.0_121" so I guess that everything is fine. To install jdk 8 follow the steps of the following link: link
To install sbt (to program in the play framework) follow the steps of the official documentation:
echo "deb link /" | sudo tee -a /etc/apt/sources.list.d/sbt.list sudo apt-key adv --keyserver hkp: //keyserver.ubuntu.com: 80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 sudo apt-get update sudo apt-get install sbt
But I get the following error:
sbt: Depends on: openjdk-8-jdk but it is not installable
and when I try apt-get install openjdk-8-jdk tells me that the package does not have cadidato for its installation.
I tried to download the .deb package for sbt but it shows me the same dependency error.
The only thing I need is to install sbt, however the dependency error with openjdk-8-jdk prevents it. Could someone give me a suggestion?