java.io.IOException: Cannot run program “host”: CreateProcess error=2, The system cannot find the file specified

mkyong.com | 2 months ago
  1. 0

    How to execute shell command from Java

    mkyong.com | 3 months ago
    java.io.IOException: Cannot run program “host”: CreateProcess error=2, The system cannot find the file specified
  2. 0

    Not able to execute an exe file from java using ProcessBuilder

    Stack Overflow | 4 years ago | Wayne Rooney
    java.io.IOException: Cannot run program "19.exe" (in directory "C:\wamp\www\usercodes\lokesh"): CreateProcess error=2, The system cannot find the file specified
  3. 0

    Hudson cannot find powershell after update to powershell 3

    Stack Overflow | 4 years ago | George Mauer
    java.io.IOException: Cannot run program "powershell.exe" (in directory "C:\hudson\jobs\MyProject\workspace"): 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

    How to execute shell command from Java

    mkyong.com | 2 months ago
    java.io.IOException: Cannot run program “host”: CreateProcess error=2, The system cannot find the file specified
  6. 0

    Does LocalJobRunner and MiniCluster require cygwin to run on Windows 7?

    Stack Overflow | 3 years ago | Pangea
    java.io.IOException: Cannot run program "cygpath": CreateProcess error=2, The system cannot find the file specified

  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 the 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:188)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:132)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
    4 frames