Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Ubuntu 14.04 Java 7 automated install script
cat - <<-EOF >> /etc/apt/sources.list.d/webupd8team-java.list
# webupd8team repository list
deb trusty main
# deb-src trusty main
apt-key adv --recv-keys --keyserver 0xEEA14886
echo debconf shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | /usr/bin/debconf-set-selections
apt-get update
apt-get install oracle-java7-installer

This comment has been minimized.

Copy link

@wordyallen wordyallen commented Jul 25, 2016

java 8 is telling me to press enter? I tried echo and expect scripts and I cant get past the prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.