java.io.IOException: Cannot run program "dir" (in directory "C:\LocalJenkins\plugins\michaelPlugin\work\jobs\buildTest\workspace"): CreateProcess error=2, The system cannot find the file specified*

Google Groups | Unknown author | 5 months ago
  1. 0

    Run Windows Command in Jenkins Plugin

    Google Groups | 5 months ago | Unknown author
    java.io.IOException: Cannot run program "dir" (in directory "C:\LocalJenkins\plugins\michaelPlugin\work\jobs\buildTest\workspace"): CreateProcess error=2, The system cannot find the file specified*
  2. 0

    "hg" can not be found when invoked by the Jenkins Mercurial plugin

    Stack Overflow | 5 years ago | Teo Klestrup Röijezon
    java.io.IOException: Cannot run program "hg" (in directory "/var/lib/jenkins/workspace/My-Repository"): java.io.IOException: error=2, No such file or directory
  3. 0

    Gradle installer Permission Error

    GitHub | 2 years ago | atomi
    java.io.IOException: Cannot run program "/var/jenkins_home/tools/hudson.plugins.gradle.GradleInstallation/Gradle_2.1/bin/gradle" (in directory "/var/jenkins_home/jobs/mustash/workspace"): error=13, Permission denied
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins job using Gradle can't find executable

    Stack Overflow | 2 years ago | ShatyUT
    java.io.IOException: Cannot run program "gradle" (in directory "/var/lib/jenkins/workspace/Journeyman-Android"): error=2, No such file or directory
  6. 0

    [JENKINS-8244] "Too Many Open files", Git and SSH slave - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.io.IOException: error=24, Too many open files

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 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

    CreateProcess error=2, The system cannot find th e file specified

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:137)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    4 frames
  3. Hudson
    Launcher$ProcStarter.join
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:816)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:382)
    5. hudson.Launcher$ProcStarter.join(Launcher.java:389)
    5 frames
  4. michaelPlugin.michaelPlugin
    HelloWorldBuilder.perform
    1. michaelPlugin.michaelPlugin.HelloWorldBuilder.perform(HelloWorldBuilder.java:110)
    1 frame
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75)
    2. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
    4. hudson.model.Build$BuildExecution.build(Build.java:205)
    5. hudson.model.Build$BuildExecution.doRun(Build.java:162)
    6. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
    7. hudson.model.Run.execute(Run.java:1741)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    9. hudson.model.ResourceController.execute(ResourceController.java:98)
    10. hudson.model.Executor.run(Executor.java:408)
    10 frames