The following instructions are for Debian or Ubuntu Linux. For other Linux distributions, please adapt the commands accordingly.

1. Install Prerequisites

  • Install JDK 8. Please make sure JAVA_HOME is set.

    $ sudo apt-get update
    $ sudo apt-get install default-jdk

    For more detail, you can refer to

    Set the JAVA_HOME by editing the file /etc/environment

    $ sudo nano /etc/environment

    In this file, add the following line :


    Now reload the file and test:

    $ source /etc/environment
    $ echo $JAVA_HOME
  • Install MySQL 5.5 or above.

    $ sudo apt-get install mysql-server
    $ sudo service mysql start
  • Install Apache Maven 2.2.1 or above. Please make sure "mvn" command is able to execute from command line.

    $ sudo apt-get install maven
    $ mvn -version
  • Install Git.


    $ sudo apt-get install git
    $ git --version

2. Install 3rd Party Libraries

$ wget
$ unzip -a
$ cd install-libraries
$ ./
$ cd ~

3. Obtain Source

$ mkdir joget_src
$ cd joget_src
$ git clone --branch 7.0-SNAPSHOT --depth 1
$ cd ~

4. Configure Datasource for Test Case

Prepare the database for Joget usage.

$ mysql -uroot
$ create database jwdb;
$ exit
$ mysql -uroot jwdb < joget_src/jw-community/wflow-install/src/main/resources/data/jwdb-empty.sql

Download and extract in your user home.

$ wget
$ unzip -a
$ cd wflow
$ nano

Make sure the configuration in is correct.


5. Build Project

It is NOT recommended to skip unit tests in Joget, to ensure build integrity.

$ cd ~/joget_src/jw-community/wflow-app/
$ mvn clean install

  • No labels