Install on Ubuntu

On Ubuntu linux you need to install and execute LogicalDOC as root user(command sudo su), make sure to log-in as root before continuing, since this guide assumes you perform all the operations as root.

To install in Ubuntu you have to provide at least these two components:

Java JDK 8 (Java Development Kit)

Download and install Java JDK (version 8 or more recent) for your server system from

In any case visit for more informations.

You can check the presence of Java in your system by executing this command from a terminal:

$ java -version

LogicalDOC requires Java JDK 1.8 (formally Java 8) in order to work properly.
If the above command returns a different version of java eg.: "java version 1.7.0_13" follow the instructions below to install the Java JDK 8.

Execute the following commands on the Terminal by copying and pasting them one at a time (Ubuntu 12.04)

$ sudo apt-get purge openjdk*
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer


In order to setup a production system you have to provide a MySQL (version 5.0 ore more recent) database where the application will store all data.
To perform this step, make sure to have a MySQL up and running, if this is not the case install it:

Make sure to log-in as root

This guide assumes you are performing the installation by using the user root

To make sure to log-in as root before continuing, please execute the command sudo su from a terminal