In this chapter we will see how to prepare the development environment on Linux and Windows operating systems for working with Axelor Open Platform sources.



On Linux/MacOS install OpenJDK 8 and make sure JDK command line tools are in your path. If you use distribution provided OpenJDK, they are already available in PATH otherwise do this:

$ export JAVA_HOME=/path/to/jdk
$ export PATH=$JAVA_HOME/bin:$PATH

On Windows, the JDK installer generally configures PATH environment. However, you can do following to setup PATH manually.

$ set JAVA_HOME=\path\to\jdk
$ set PATH=%JAVA_HOME%\bin;%PATH%

To ensure, JDK is installed properly, try this command from console:

$ javac -version
See the list of well known OpenJDK 8 distributions.


You can install Gradle 4.4.1 as documented in gradle installation guide or install manually and configure PATH environment like this:

$ export GRADLE_HOME=/path/to/gradle
$ export PATH=$GRADLE_HOME/bin:$PATH

To ensure Gradle is installed properly, try this command in console:

$ gradle -version


See PostgreSQL download page for more detailed information about installation process.

You may also require to configure postgresql server to allow password authentication.

Example pg_hba.conf
# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all             all               md5
# IPv6 local connections:
host    all             all             ::1/128                 md5