I am trying to run a Java executable Jar file from Alteryx workflow using run command tool. I have placed my Jar file where workflow is saved. I am getting "Failed to run external program. The system cannot find the file specified"
Is it even possible to run a Java executable from Alteryx workflow ?
Any help is much appreciated.
Solved! Go to Solution.
Provided you can run it from a DOS command line, you should be able to run it from a Run batch command tool, so try getting it to work in a DOS command window first. You probably have to type in the full paths for both the java command and the jar file.
You could also try to write a batch file in dos and then run the batch file from the Command batch tool
I created a batch file with command to run the Jar and passed the file in Run External Program Command and it's working.
Thanks.
Can you share the sample Alteryx file to us.
Hello, I have a problem. When loading external Java command line files, I was reminded that Java is not running commands internally, but I tried to run jar files under the CMD window. I don't know if you have encountered it. I suspect it's a problem with the Java environment, but I don't know how to solve it. Can't porting it to alteryx be a problem with the Java environment?
@pushpraj wrote:I am trying to run a Java executable Jar file from Alteryx workflow using run command tool. I have placed my Jar file where workflow is saved. I am getting "Failed to run external program. The system cannot find the file specified"
Is it even possible to run a Java executable from Alteryx workflow ?
Any help is much appreciated.
Hi , Can you please share the Alteryx workflow to see running a java program