I want to install the proprietary version of java. Thus, I went to their website and followed their instructions here http://java.com/en/download/help/linux_x64_install.xml.
Quite simply it says to:
- change directory to the one you want Java installed on. I went to /usr/bin/java.
- then I unpacked the tarball with this command -
sudo tar zxvf jre-8u73-linux-x64.tar.gz
Note: When the installation has completed you will see the word Done.
Doh! I didn't see the word Done. When I unpacked the tarball the files seemed to be put in place of the directory I unpacked them in, but I don't think Java was "installed". In the past, I knew Java had to be uninstalled before a newer version could be installed and I did just that. So, I tried checking my java version.
The program 'java' can be found in the following packages:
Try: sudo apt install
I'm not sure what I'm missing.