Here’s the installation instructions for OpenJDK 8.

For Fedora, Redhat and Oracle Linux.

<pre lang="bash">yum install java-1.8.0-openjdk

For Debian and Ubuntu.

<pre lang="bash">apt-get install openjdk-8-jre

To see if the packages (symbolic links) are there, they can be found in /etc/alternatives/, at least in Redhat 7.

<pre lang="bash">ls -l /etc/alternatives/