Hi, I know this thread is very old, but I am having a similar problem: I have a program written in Ruby which converts EDI files to XML files. This program can be run from the console, giving an .edi file as an argument, as follows:

edi2xml.rb in.edi

The resulting xml translation appears in the console. Well, I tried to call this same Ruby program from a Java class:
Code:
Runtime runtime = Runtime.getRuntime();
...