java.io.IOException: Cannot run program "cmd" (in directory "/Users/MacPro/.jenkins/workspace/tests_build"): error=2, No such file or directory

codegur.website | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Create a build job for sample cucumber ruby project

    Stack Overflow | 1 year ago | ASM
    java.io.IOException: Cannot run program "cmd" (in directory "/Users/MacPro/.jenkins/workspace/tests_build"): error=2, No such file or directory
  2. 0

    A JNI error has occurred, please check your installation and try again Exception in thread "main"

    codegur.website | 7 months ago
    java.io.IOException: Cannot run program "cmd" (in directory "/Users/MacPro/.jenkins/workspace/tests_build"): error=2, No such file or directory
  3. 0

    Cannot run program "mvn" error=2, No such file or directory

    Stack Overflow | 2 years ago | Mario Dennis
    java.io.IOException: Cannot run program "mvn" (in directory "/var/lib/jenkins/workspace/videovixx"): error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins - java.io.IOException: Cannot run program "/usr/local/bin/bash" - shell pressing answers

    itanswerz.com | 1 year ago
    java.io.IOException: Cannot run program "/usr/local/bin/bash" (in directory "/home/portaldev/.jenkins/workspace/Trunk_Build"): error=2, No such file or directory
  6. 0

    GitHub comment 95#196490692

    GitHub | 11 months ago | enoch85
    java.io.IOException: Cannot run program "ant" (in directory "/usr/local/jenkins/jobs/ownCloud SMS (Android) - PR/workspace"): error=2, No such file or directory

  1. rp 1 times, last 2 months ago
  2. michallos 1 times, last 3 months ago
  3. eti22 1 times, last 4 months ago
  4. asdasd 24 times, last 5 months ago
  5. rexgreenza 8 times, last 5 months ago
2 more registered users
93 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=2, No such file or directory

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:184)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:130)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
    4 frames
  3. Hudson
    Executor.run
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:381)
    5. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
    6. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
    7. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    8. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    9. hudson.model.Build$BuildExecution.build(Build.java:205)
    10. hudson.model.Build$BuildExecution.doRun(Build.java:162)
    11. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    12. hudson.model.Run.execute(Run.java:1738)
    13. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    14. hudson.model.ResourceController.execute(ResourceController.java:98)
    15. hudson.model.Executor.run(Executor.java:410)
    15 frames