Java IOException
ProcessBuilder processBuilder = new ProcessBuilder("./LicenseGen.sh","--batchfile","commands.txt");
You need to pass in the command and args as separate strings or a list.
http://download.oracle.com/javase/6/docs/api/java/lang/ProcessBuilder.html