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 sourceforge.net by Unknown author, 1 year ago
error=2, No such file or directory
via Eclipse Bugzilla by peter.scalise, 1 year ago
Cannot run program "mvn" (in directory "/var/lib/hudson/jobs/test/workspace"): java.io.IOException: error=2, No such file or directory
via Google Groups by Sampath....@vce.com, 2 years ago
Cannot run program "mvn" (in directory "/var/lib/jenkins/jobs/Ax_Tools/workspace"): java.io.IOException: error=2, No such file or directory
via eclipse.org by Unknown author, 1 year ago
Cannot run program "mvn" (in directory "/var/lib/hudson/jobs/test/workspace"): java.io.IOException: error=2, No such file or directory
via nabble.com by Unknown author, 1 year ago
Cannot run program "mvn" (in directory "/root/.jenkins/jobs/game-of-life-default/workspace"): java.io.IOException: error=2, No such file or directory
via Stack Overflow by OrwellHindenberg
, 1 year ago
Cannot run program "mvn" (in directory "/var/lib/jenkins /jobs/selenium/workspace"): java.io.IOException: error=2, No such file or directory
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:453)
at hudson.Proc$LocalProc.(Proc.java:192)
at hudson.Proc$LocalProc.(Proc.java:164)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
at hudson.Launcher$ProcStarter.start(Launcher.java:273)
at hudson.Launcher$ProcStarter.join(Launcher.java:280)
at hudson.tasks.Maven.perform(Maven.java:253)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
at hudson.model.Build$RunnerImpl.build(Build.java:174)
at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1257)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:129)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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