java library path not working using the reference knime://knime.mountpoint under batch mode

We just recently migrated from 4.xx to 5.4, and ran into the issue in several Java Snippets running in batch mode. We have several Java Snippets with additonal libraries that are referenced with the format knime://knime.mountpoint/path/xxx.java. This works fine when running under the UI/GUI mode. However when this is being run under batch mode, Knime will not recongnize the path anymore. It has to be changed back to “c:\knime-workspace.…” using the standard directory format. We have a lot of workflows that have to be modified as a result. This is definitely a bug and are there any fixes available?

@kkam maybe you can take a look at this approach and the component provided. With batch in general I have noticed that fixed paths are often best and KNIME in batch mode does not seem to like relative paths or paths that are being determined within the workflow.

1 Like