You can easily manage java with this command.
Code alternatives --config java
It will show which versions are installed and which engine you want to set as default.
Java version in webuzo is usually 6 months old.
Here is my script. Run as root, then you're all set.
Code
cd /opt
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u73-b02/jre-8u73-linux-x64.tar.gz"
tar -xzvf jre-8u73-linux-x64.tar.gz
cd jre1.8.0_73
alternatives --install /usr/bin/java java /opt/jre1.8.0_73/bin/java 2
alternatives --config java
|