Place this component on your workflow ahead of any java node that requires additional java libraries not present in the standard KNIME bundles.
This checks if the stated jar file already exists within the current workflow data folder, and only downloads it if not found, or if the force-download option is selected, in which case it will pull a new copy regardless. This is useful if a new version of a jar is to be download, but locally the file is named without version number for portability (i.e. not having to reconfig the java node)
This component is based on a component written by Mydral for downloading a jar to the local data folder.
It has been modified so that the configuration can be changed (e.g. specify jar location and local file name) to make it reusable, and it now simply uses List File/Folders configured to use workflow data folder rather than using the workflow data area connector.
Once the required JAR file is present in the workflow data folder, configure Java Snippet using the Additional Libraries tab. Add the jar file using the Add KNIME URL button, and specify the jar file using the following KNIME URL format
knime://knime.workflow/data/MyJarFile.jar
This should then mean that the snippet can find the jar file no matter where the workflow has been saved, and should improve portability of the workflow.
The icon has also changed to avoid confusion with the original.
Original version by Mydral
Support for this version - contact @takbb Brian Bates
To use this component in KNIME, download it from the below URL and open it in KNIME:
Download ComponentDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.