Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I include and use external java libraries in my new KNIME plugin?

0
0 Posted

How do I include and use external java libraries in my new KNIME plugin?

1
0

Follow these steps: • Create a lib directory in your KNIME plugin. • Copy the file(s) into the lib directory. (Java libraries are packed either as a zip or jar archive.) • Edit the META-INF/MANIFEST.MF file with the “Plug-in Manifest Editor”. • Go to the “Runtime” tab and add all necessary libraries to the “Classpath” list on the bottom-right corner using the “Add…” button. • Go the to “Build” tab and add the files to the list contained in the section “Extra classpath entries”. • Make sure that the lib directory is selected in both the “Binary Build” and “Source Build” list (in the same tab). • (Please note, adding jar files to the plugins build path, i.e. project context menu -> “Java Build Path” ->”Libraries” is not necessary.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123