Skip to content
Kevin Gómez edited this page Sep 4, 2020 · 9 revisions

Setup

The following explains which software is required for the Gradoop tutorial.

Java

For the Gradoop-Tutorial java 8 is required. Install Java 8 (Unix). For Windows installation see here.

sudo apt install openjdk-8-jdk

Check Java Version:

java -version

The output should be something like:

openjdk version "1.8.0_265"

If multiple Java versions are installed just change the java default (Unix):

sudo update-alternatives --config java

The output of this command looks like this:

There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                      Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/java-11-oracle/bin/java     1062      auto mode
* 1            /usr/lib/jvm/java-8-openjdk/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-8-oracle/bin/java     1062      manual mode

Press enter to keep the current choice[*], or type selection number:

Maven

Installation of maven 3 (Unix). For Windows installation see here.

sudo apt install maven

Check maven version:

mvn -version 

Output should look like this:

Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 1.8.0_265, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre

Graphviz

To visualize the results of our task, we use the .dot format that is supported by Graphviz.

We prefer to install the tool.

sudo apt install graphviz

An alternative is the Online GraphViz tool here where you can paste the content of our generated dot files.

Test Execution

First clone the git gradoop-tutorial repository.

git clone https://github.com/dbs-leipzig/gradoop-tutorial.git

Execute our Hello World example class.

mvn exec:java -Dexec.mainClass="org.gradoop.tutorial.HelloWorld" -Dexec.cleanupDaemonThreads=false
Clone this wiki locally