Skip to content

API

Java

Obtaining the Java API

git clone https://gitlab.com/gbol/GBOLApi

Installing the API

#Install oracle java 1.8 or higher
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

#Install gradle 3.4.1 or higher
sudo add-apt-repository ppa:cwchien/gradle
sudo apt-get update
sudo apt-get install gradle

#run the install script
./install.sh

The example at contain an example on how the use the API

git clone http://gitlab.com/gbol/example

R

Obtaining the R API

git clone https://gitlab.com/gbol/RGBOLApi

Installing the R API

#Install oracle java 1.8 or higher
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

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

#Install R and RJava
sudo apt-get install r-base r-cran-rjava

#run the install script
./install.sh

An example for using the R api is included in

git clone http://gitlab.com/gbol/example