Closed ksripathi closed 6 years ago
Following bash commands automates the java8 installation
sudo apt-get install -y python-software-properties debconf-utils
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
sudo apt-get install -y oracle-java8-installer
Above steps are broken due resource not available.
resource at https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/ fixes the issue
While installing apt-get install oracle-java8-installer -y its prompting for license agreement 'YES' or 'NO' this is to be automated for ADS to execute it