java.io.IOException

Cannot run program "source" (in directory "<my worspace>"): java.io.IOException: error=2, No such file or directory

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web22659

  • via Jenkins JIRA by jasperlj, 1 year ago
    Cannot run program "source" (in directory "<my worspace>"): java.io.IOException: error=2, No such file or directory
  • via Jenkins JIRA by jasperlj, 1 year ago
    Cannot run program "source" (in directory "<my worspace>"): java.io.IOException: error=2, No such file or directory
  • via Stack Overflow by Sathish Santhosam
    , 1 year ago
    Cannot run program "java" (in directory "MY Project DIrectory"): java.io.IOException: error=2, No such file or directory
  • Stack trace

    • java.io.IOException: Cannot run program "source" (in directory "<my worspace>"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(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 com.nokia.hudson.s40isattcn.S40IsattcnBuilder$1.perform(S40IsattcnBuilder.java:901) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:58) at com.nokia.hudson.s40isattcn.S40IsattcnBuilder.perform(S40IsattcnBuilder.java:373) 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:1273) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    125 more bugmates