Skip to content

Instantly share code, notes, and snippets.

@arundasan91
Created December 10, 2016 05:26
Show Gist options
  • Save arundasan91/468bec87efa6ea7abdff59a30b43d140 to your computer and use it in GitHub Desktop.
Save arundasan91/468bec87efa6ea7abdff59a30b43d140 to your computer and use it in GitHub Desktop.
Install Bazel and Java OpenJDK 1.8 in Ubuntu 14.04

Install OpenJDK 1.8

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update && sudo apt-get -y install openjdk-8-jdk

Install Bazel

echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get -y install bazel

Upgrade Bazel

sudo apt-get upgrade bazel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment