Skip to content

Instantly share code, notes, and snippets.

@NLKNguyen
Last active September 18, 2015 21:49
Show Gist options
  • Save NLKNguyen/fe35d62d88cb54f6bd0f to your computer and use it in GitHub Desktop.
Save NLKNguyen/fe35d62d88cb54f6bd0f to your computer and use it in GitHub Desktop.
JAVA: Up & Running on Ubuntu

#Install Java 8 (Oracle JDK)

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default

# Check
java -version

#Install Gradle

sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-get install gradle

# Check
gradle -v

# Enable deamon for faster build
touch ~/.gradle/gradle.properties && echo "org.gradle.daemon=true" >> ~/.gradle/gradle.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment