Oracle Java 8

You can try the following:

Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and download the apropriate Java SDK.

Take note of the Version no. which you’ll need later. In this example it is 8u131 Copy it somewhere to your Veros home folder (using Samba, FTP, it doesn’t matter). In the following I assume you placed it under ~/sources/jdk

Run this from the command line:

cd ~/sources/jdk
tar -zxf jdk-8u131-linux-arm32-vfp-hflt.tar.gz
mkdir /opt/jre

We are only interested in the runtime environment JRE, so we’re only installing this and dump the rest. Note that the directory contains the version no. You have to adjust this with the one you wrote down.

mv ~/sources/jdk/jdk1.8.0_131/jre /opt
sudo update-alternatives --install /usr/bin/java java /opt/jre/bin/java 100
rm -R --interactive=never ~/sources/jdk

Now

java -version

Should output

Java™ SE Runtime Environment (build 1.8.0_-)
Java HotSpot™ Client VM (build 25.131-b11, mixed mode)

All that assumes you previosly removed open JDK or installed it with a lower priority.