Q:

Installing Jre 8 on Ubuntu

So I am trying to install Java Runtime 8 on Ubuntu Linux 14.04. I managed to get OpenJDK 7 using apt-get but I don’t see any JDK 8. I tried to download Oracle's Jre 8 .tar.gz file and I extracted it but it's just a folder. When I do java -version it shows the OpenJDK 7 which I had previously installed, no Jre 8. Please Help!
-----Edit----- 
xenoid I tried that, the OpenJDK 7 was using apt-get and the JRE 8 is a package. I figured out that my python packages messed up during an update and I couldn't install any more packages. I'm Reinstalling Ubuntu. (But now my computer died fully)

A:

Your problem is that you have two Java runtimes installed, 1.7 and 1.8. Normally you would use alternatives to switch them but that assumes that both have been installed by the standard packaging methods.
The Java8 one is likely not even in your path, but you can start it using a full path:
<path-of-installation>/jre/bin/java

