Hello,
I am having an issue with the RunCommand tool running Java (at least that is what I think it is).
Running the Sentiment Tool (from the Comparing Sentiment Analysis Algorithms article) I keep encountering this error:
"Error: Run Command (5): The external program "java" returned an error code: 2"
Thinking it was an issue with Java how is setup, I tried to run Java in a Command Window - that works. I was even able to run the StandfordCoreNLP Sentiment tool from a Command Window. I am also able to run Java from any directory, so I don't think it is a Path issue.
To test the RunCommand, I made a very simple workflow. Here's the Configuration for the RunCommand tool. This also is returning the same error as above.
I tried java, java.exe and C:\Program Files\Java\jre1.8.0_181\bin\java.exe. None of those seemed to make a difference.
What is it that I am doing wrong?
Thank you for the help.
Solved! Go to Solution.
That worked! But I'm sure you knew that already.
I am so grateful to you for taking the time to work through this for me. You have saved me so much time and aggravation and given me an amazing learning experience. I am going to look closely at your macro and see what else I can learn.
Thank you!