You can use folowing code snippet to launch a Unix script with Java.

 String[] cmd = {"/bin/sh", "-c", "ls > hello"};
  Runtime.getRuntime().exec(cmd);