Hi everyone,

I would like to ask has anyone encounter such a problem where an error called

“java was started but returned exit code=2” when running KNIME in batch file ?

The detailed of the error is in the attachment below.

Hi @gua_gunners -

Exit code 2 occurs if parameters are wrong or missing. So the problem might be that you have some workflow variables that you need to provide values for.

Just FYI, exit code 3 indicates when an error occurs during loading a workflow, and exit code 4 indicates if an error during execution occurred.


Hi @ScottF,

Thanks for the reply and also for the info. For your information I have also encounter with exit code 4, so the way to solve this is checking back my KNIME workflow ?
As far as Im concern, my KNIME works perfectly just fine without any errors.

Thank You

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.