java.io.IOException: Cannot run program "cmd /c dir": CreateProcess error=2, The system cannot find the file specified

Coderanch | syruss kumar | 5 years 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

    Problem in process

    Coderanch | 5 years ago | syruss kumar
    java.io.IOException: Cannot run program "cmd /c dir": CreateProcess error=2, The system cannot find the file specified
  2. 0

    Improve reporting on not found jstack.exe when trying to get a thread dump

    YouTrack | 4 years ago
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "jstack.exe": CreateProcess error=2, The system cannot find the file specified
  3. 0

    R Pluging Error

    GitHub | 2 years ago | sirinath
    javax.servlet.ServletException: java.io.IOException: Cannot run program "Rscript": CreateProcess error=2, The system cannot find the file specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Matlab 2014b error

    GitHub | 2 years ago | geebioso
    java.io.IOException: Cannot run program "make" (in directory "C:\Users\Garren\Dropbox\cmdstan-2.5.0\cmdstan"): CreateProcess error=2, The system cannot find the file specified
  6. 0

    Apktool fails with Ice Cream Sandwich apks ?

    GitHub | 2 years ago | iBotPeaches
    brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\TSTEVE~1\AppData\Local\Temp\APKTOOL8051116276507598928.tmp, -I, C:\Users\tstevenson\apktool\framework\1.apk, -S, C:\Users\tstevenson\Documents\Dropbox\Phone\Working\xdaAutoTool\_INPUT_APK\SystemUI\res, -M, C:\Users\tstevenson\Documents\Dropbox\Phone\Working\xdaAutoTool\_INPUT_APK\SystemUI\AndroidManifest.xml]

  1. PKeidel 3 times, last 2 months ago
  2. serious2monkeys 1 times, last 3 months ago
  3. Handemelindo 6 times, last 4 months ago
  4. kid 5 times, last 4 months ago
  5. rp 2 times, last 4 months ago
4 more registered users
75 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 the file specified

    at java.lang.ProcessImpl.create()
  2. Java RT
    Runtime.exec
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    5. java.lang.Runtime.exec(Unknown Source)
    6. java.lang.Runtime.exec(Unknown Source)
    6 frames
  3. com.java.language
    ExploreRuntimeProcess.main
    1. com.java.language.ExploreRuntimeProcess.executeProcess(ExploreRuntimeProcess.java:15)
    2. com.java.language.ExploreRuntimeProcess.main(ExploreRuntimeProcess.java:25)
    2 frames