I try to execute a JavaScript Script with the Code
Runtime.getRuntime().exec("osascript /Path/To/Script.scpt");
In Terminal the command osascript /Path/To/Script.scpt works fine and the script do ist job but in java nothing happens. I try other commands with Runtime.getRuntime().exec(cmd) and they all work.