To run some applications on a server I require a version 1.7+
I tried to install JDK as shown in link. However, it did could not retrieve the newest package of Java 8.
sudo apt-get install openjdk-8-jre
which gave me
Unable to locate package openjdk-8-jdk
with
sudo apt-get install openjdk-7-jre
the installation went ahead but running
java -version
I get: java version "1.6.0_36"
The same package on ubuntu gave me a 1.7... as expected. Does this imply that the Debian repository does not have a proper jdk 1.7, or that I may have had an older installation of Java and need to further configure Java to run at the proper version?
I also took a look at this question however it gave me no satisfactory solution.