Install the Java Runtime Environment (jre) on Ubuntu with this command:

// To install the Java Runtime Environment (jre)
// First, check if the JRE is not installed:
$ java -version

// Install default-jre:
$ sudo apt-get install default-jre

Installing the Java Runtime Environment · Gist

Or maybe you want the JRE non-free ppa: Oracle Java (JDK) Installer

64 bit - How do you install Java Runtime 64bit on 12.10? - Ask Ubuntu

java - Symbolic link creation pointing Firefox - Ask Ubuntu