java.io.IOException: Cannot run program "sh" (in directory "C:\Jenkins"): CreateProcess error=2, The system cannot find the file specified

jenkins-ci.org | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Try updating IDE to 1.6.12 or further.
  2. 0

    Slave Setup Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 7 months ago
    java.io.IOException: Cannot run program "sh" (in directory "C:\Jenkins"): CreateProcess error=2, The system cannot find the file specified
  3. 0

    weird java error

    GitHub | 3 years ago | crazyjoery
    java.io.IOException: Cannot run program "C:\Program Files (x86)\Java\jre7\bin\java" (in directory ".\instances\wom\minecraft"): CreateProcess error=267, The directory name is invalid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    crash windows

    GitHub | 2 years ago | yoavst
    java.io.IOException: Cannot run program "ndisasm": CreateProcess error=2, The sy stem cannot find the file specified
  6. 0

    nodejs plugin for dalek on Jenkins configuration issues questions

    Stack Overflow | 2 years ago | chz
    java.io.IOException: Cannot run program "C:\Windows\TEMP\hudson1848754731046994976.js" (in directory "C:\jenkins\workspace\Test"): CreateProcess error=193, %1 is not a valid Win32 application

  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 "sh" (in directory "C:\Jenkins"): 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(Unknown Source)
    1 frame