Skip to content

Commit

Permalink
Merge pull request #915 from efiop/master
Browse files Browse the repository at this point in the history
travis: use openjdk
  • Loading branch information
efiop authored Jul 19, 2018
2 parents 3820eb3 + b03dd85 commit 94551b3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions scripts/ci/install_hadoop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,8 @@
set -x
set -e

# This command is used to tell shell, turn installation mode to non interactive
# and set auto selection of agreement for Sun Java
export DEBIAN_FRONTEND=noninteractive
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections

sudo apt-get update -y
sudo apt-get install python-software-properties -y
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update -y
sudo -E apt-get install oracle-java8-installer -y

sudo apt-get install default-jdk
java -version

pushd /usr/local
Expand Down

0 comments on commit 94551b3

Please sign in to comment.