Recommended solutions based on your search
You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");
Solutions on the web
JDK 1.7.0_60b19 we ship with our PBA platform fails to launch processes on Mac OS platform. Test program is attached. When launched as java Test /bin/date output is: canRead(): true canExecute(): true Exception in thread "main" java.io.IOException: Cannot run program "/bin/date": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) at java.lang.Runtime.exec(Runtime.java:617) at java.lang.Runtime.exec(Runtime.java:450) at java.lang.Runtime.exec(Runtime.java:347) at Test.main(Test.java:37) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:184) at java.lang.ProcessImpl.start(ProcessImpl.java:130) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) ... 4 more Same program runs fine with java 1.7.0_72b14 and later. This affects Shell job entry, some of bulk loaders and other steps/job entries which use the API. OpenJDK bug tracking shows there were changes in the area around affected version of JDK: https://bugs.openjdk.java.net/browse/JDK-8047340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel The workaround they suggest is to use -Djdk.lang.Process.launchMechanism=fork which allows the program to run.