dnaki
August 4, 2023, 4:39pm
1
Hi,
I’d like to include the CDK library in a Java Snippet node. In the node I go to the Additional Bundles tab and select the org.openscience.cdk.knime bundle:
Then in the Java Snippet tab, I try to import “org.openscience…” but it cannot be resolved:
Any idea what the issue is?
Thanks, -Don
1 Like
system
Closed
November 2, 2023, 4:39pm
2
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
Hey,
not sure about this particular case, but this workaround might help.
Hey @s.roughley ,
sorry for the late reply.
I right now cannot give you details on why exactly this is not available in the Java Snippet node as expected.
I can say however, that it has to do with the way the org.knime.core plugin/bundle is represented on disk (in p2 terms, how it is installed in the resp. bundle pool). Concretely, if you look in the AP installation directory in the folder plugins, you’ll see that some plugins are jars and some are directories.
If they are directories, they …
Best,
Ben