Skip to content

Configuring IDE from a clean Eclipse

  • Eclipse
  • OpenJDK 17

Suggested minimum hardware configuration:

  • 2 CPUs
  • 4 GB of RAM ( 8GB recommended )
  • 64-bit architecture

We suggest downloading the latest stable version of Eclipse. Eclipse comes in several versions. You should download the “Eclipse IDE for Java EE Developers” for your computer architecture (64-bit).

Go to Window / Preferences / Java / Installed JRE. You must have OpenJDK 11 defined here:

Go to the “Servers” tab. Right-click and, from the contextual menu, choose “Add / server”. From the list choose “Tomcat 7 Server”:

Configure a new runtime server environment:

Check the box Use Tomcat installation (takes control of Tomcat installation).

Increase the start and stop timeouts (for example, to 180 and 120 seconds, respectively).

Edit the launch configuration: add memory parameters (we suggest 4 GB) and UTF-8 file encoding in the VM arguments field:

-Xms1024m -Xmx4096m -Djava.awt.headless=true -Dfile.encoding=utf-8

Add your OpenKM project in the Source tab:

Add CATALINA_PID to the environment variables:

CATALINA_PID=$CATALINA_HOME/catalina.pid

or

CATALINA_PID=$CATALINA_HOME/catalina.pid

The Eclipse version comes with Maven support plugins installed by default.