Configuring IDE from a clean Eclipse
Requirements
Section titled “Requirements”Software:
Section titled “Software:”- Eclipse
- OpenJDK 17
Hardware:
Section titled “Hardware:”Suggested minimum hardware configuration:
- 2 CPUs
- 4 GB of RAM ( 8GB recommended )
- 64-bit architecture
Download Eclipse
Section titled “Download Eclipse”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).
Configure Java
Section titled “Configure Java”Go to Window / Preferences / Java / Installed JRE. You must have OpenJDK 11 defined here:


Configure Tomcat server
Section titled “Configure Tomcat server”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.pidor
CATALINA_PID=$CATALINA_HOME/catalina.pid
Maven support for Eclipse
Section titled “Maven support for Eclipse”The Eclipse version comes with Maven support plugins installed by default.