How to Build KNIME Analytics Platform from Source Code

Hi KNIME Team,

I’d like to build the KNIME Analytics Platform from source for development purposes, but I’m unsure about the correct and up-to-date steps.

Could you please provide guidance on the following:

  • Which repositories should I clone?
  • What are the prerequisites (e.g., Java version, Maven, Eclipse)?
  • How do I configure the development environment (target platform, settings)?
  • How can I resolve dependencies like ap.parent or other missing POMs?
  • What is the correct build command to compile and run the platform locally?

I’ve seen some older documentation, but I’d appreciate a current and complete guide for building the latest version.

Thanks in advance for your help!

Hi @vjain43
The GitHub repo knime-sdk-setup contains all the information on how to build it and the prerequisites.

2 Likes

Hi @Marc_Lehner ,
My goal is to build the KNIME Analytics Platform executable from the source code. This will allow me to make custom changes directly in the source and test them within a full build.

Could you please guide me on the best approach or point me to any documentation that outlines the process for building the KNIME executable from source?

Hi @vjain43 ,

@Marc_Lehner has provided you the source code link, where you can fin the source code. If you see the Read Me you will get more information.

If you need a head start try reading following article:

Contributing to the Eclipse IDE and the Eclipse framework

While exporting the product file I am getting below error :

/Users/vjain43/Product/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.macosx.cocoa.aarch64.xml:89: The following error occurred while executing this line:

/Users/vjain43/Product/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.macosx.cocoa.aarch64.xml:1586: The following error occurred while executing this line:

/Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.pde.build_3.12.300.v20240212-0530/scripts/genericTargets.xml:240: A problem occured while invoking the director.

The following error occurred while executing this line:

/Users/vjain43/Product/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/package.org.eclipse.pde.container.feature.macosx.cocoa.aarch64.xml:1586: The following error occurred while executing this line:

/Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.pde.build_3.12.300.v20240212-0530/scripts/genericTargets.xml:240: A problem occured while invoking the director.