java.io.IOException: Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Solutions on the web

via pdfbox-dev by Apache Hudson Server, 1 year ago
Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory
via pdfbox-dev by Apache Hudson Server, 1 year ago
Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory
via Jenkins JIRA by Michael Rumpf, 1 year ago
Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
via Jenkins JIRA by alexandre_navarro, 1 year ago
Cannot run program "mvn" (in directory "/home/frtdevxpp/hudson/jobs/workspace/ARC-CTT-Nightly-Integration/trunk"): java.io.IOException: error=2, No such file or directory
via Jenkins JIRA by alexandre_navarro, 1 year ago
Cannot run program "mvn" (in directory "/home/frtdevxpp/hudson/jobs/workspace/ARC-CTT-Nightly-Integration/trunk"): java.io.IOException: error=2, No such file or directory
via Jenkins JIRA by Michael Rumpf, 1 year ago
Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
java.io.IOException: Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
at hudson.Proc$LocalProc.(Proc.java:148)
at hudson.Proc$LocalProc.(Proc.java:120)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:775)
at hudson.remoting.UserRequest.perform(UserRequest.java:104)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:236)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
126 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.