Install Development Prerequisites

From iDempiere en

Table of Contents | Install Development Prerequisites | Download the Code

IMPORTANT NOTE BEFORE STARTING: There is an alternative for fast installing development environment being worked by Heng Sin - you can check and test it here:

You might also want to try the custom Eclipse installer for iDempiere at


These prerequisites apply both for release 9 and for development.

The examples on this guide are using the following versions:

  • Ubuntu 20.04 64 bits
  • PostgreSQL 10 (used for this guide, you can use any postgres >=10)
  • git Client
  • Maven 3.6.3
  • OpenJDK 11
  • Eclipse IDE for Enterprise Java Developers 2022-03
  • Tycho Configurator

This guide can be used in other systems (even Windows) taking care of installing the corresponding packages and using corresponding commands. However, for Windows is easier to follow these video How-To

Install Ubuntu

Please refer to

Install PostgreSQL 10

iDempiere can also run with Oracle 12c to 18c, and also with any PostgreSQL >= 10, but for this How-To we use postgresql 10 - see for details

# Create the file repository configuration:
sudo sh -c 'echo "deb $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-10

Configure pg_hba.conf

After installing postgres you must check the correct configuration of /etc/postgresql/10/main/pg_hba.conf

The following line requires change of the authentication method:

local   all             all                                     peer

Change to:

local   all             all                                     md5

Please NOTE that some guides suggest configuring trust instead of md5 - but that creates a security issue on your postgres.

And then reload the configuration:

sudo service postgresql reload

Install git Client

sudo apt-get install git

Install OpenJDK 11

sudo apt-get install openjdk-11-jdk

Install Maven

sudo apt-get install maven

Or alternative you can get maven installed manually. I have used apache-maven-3.6.3 installed in a local folder, you can follow instructions to install maven from maven manual

Install Eclipse

Download the corresponding version for your operating system from "Eclipse IDE for Enterprise Java and Web Developers". At this moment iDempiere requires minimum the 2022-03 version of Eclipse.

On Ubuntu, you just uncompress it and it is ready for use. You could move the folder somewhere sensible, but this is optional. For the purposes of this How-To, let's suppose you uncompressed Eclipse in a folder pointed with the variable $ECLIPSE_HOME.

The first time you run Eclipse it will ask you for the workspace folder. You can use the default workspace because you will change it later,

Install Tycho Configurator

  • Navigate to Window > Preferences
  • Navigate to Maven > Discovery
  • Click Open Catalog
  • On Find field, enter Tycho
  • Select Tycho Configurator, click Finish to install it
    • Accept the terms, certificate, etc until installed

Now you have your prerequisites ready to receive the iDempiere sources, eclipse can be restarted now.

This How-To is brought to you by Carlos Ruiz from BX Service GmbH. Feel free to improve directly or suggest using the Discussion tab.

Table of Contents | Install Development Prerequisites | Download the Code

Cookies help us deliver our services. By using our services, you agree to our use of cookies.