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 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Run Windows Command in Jenkins Plugin

    Google Groups | 8 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

    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
  3. 0

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

    Stack Overflow | 6 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
  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 | 2 years ago
    java.io.IOException: error=24, Too many open files

  1. rp 1 times, last 3 months ago
  2. michallos 1 times, last 4 months ago
  3. eti22 1 times, last 5 months ago
  4. asdasd 24 times, last 6 months ago
  5. rexgreenza 8 times, last 6 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

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

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    1 frame
  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