I am developing a Java application which at some point of its execution is intended to run a file containing PowerBuilder instructions.
First idea was to rewrite the whole file in Java, though may be there is a cleaner way to do so - this is about executing something from the Java app to launch PowerBuilder to execute the file's instructions.
The question comes to be whether there is some class or the like in Java to perform this task - I have gone unsuccessfully through some classes whose names suggested a possible solution, such as Runnable or Callable.
Should I start translating from PowerScript to Java?