Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Currently, we only officially support Ubuntu 16.04, with limited support for 14.04. The following instructions should work onĀ other versionsĀ of Ubuntu as well.

  1. To start we need to add some third-party PPAs in order to get the correct versions of Java and Gradle needed to run our software.

    Code Block
    languagebash
    sudo apt-add-repository ppa:cwchien/gradle
    sudo apt-get update
  2. Install Java, make sure to install the OpenJDK. The Oracle JDK license does not allow controlling embedded systems. For Ubuntu 14.10 and newer:

    Code Block
    languagebash
    sudo apt-get install openjdk-8-jdk openjfx

    For versions of Ubuntu older than 14.10, such as 14.04, OpenJDK 8 is not available in an official backport. Instead, execute

    Code Block
    languagebash
    sudo add-apt-repository ppa:openjdk-r/ppa
    sudo apt-get update 
    sudo apt-get install openjdk-8-jdk
    sudo update-alternatives --config java
    sudo update-alternatives --config javac
  3. You can verify that your system is using the correct JDK by running

    Code Block
    java -version

    The output should look something like

    Code Block
    java version "1.8.0_91"
    Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
  4. Install Gradle

    Code Block
    languagebash
    sudo apt-get install gradle

    Make sure you have a version >= 2.10 by running

    Code Block
    languagebash
    gradle -v
  5. Install Git

    Code Block
    languagebash
    sudo apt-get install git