Scripted Install of Oracle Java 8 on Ubuntu 16.04
Category : Supporting Scripts
Please see Install Oracle Java In Debian/ Ubuntu using apt-get for more information.
apt install -y software-properties-common apt-add-repository -y ppa:webupd8team/java apt update echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections apt install -y oracle-java8-installer