Running Java Executable from Designer Run Command Tool
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Labels:
- Run Command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can you share the sample Alteryx file to us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi , Can you please share the Alteryx workflow to see running a java program
