java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified

xamarin.com | 3 months ago
  1. 0

    How to start a server for Calabash- Java in android? I am facing this issue. - Xamarin Forums

    xamarin.com | 8 months ago
    java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
  2. 0

    How to start a server for Calabash- Java in android? I am facing this issue. — Xamarin Forums

    xamarin.com | 3 months ago
    java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
  3. 0

    Runtime.getRuntime().exec(__);

    Stack Overflow | 1 year ago | Jake Meilak
    java.io.IOException: Cannot run program "\Italian": 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

    ping a host name program

    Stack Overflow | 8 months ago | swipeales
    java.io.IOException: Cannot run program "google.com": CreateProcess error=2, The system cannot find the file specified
  6. 0

    Build fails on Windows, at casperjs-test

    GitHub | 2 years ago | carlosmiranda
    java.io.IOException: Cannot run program "casperjs": CreateProcess error=2, The system cannot find the file specified

  1. Handemelindo 6 times, last 1 month ago
  2. kid 5 times, last 1 month ago
  3. rp 2 times, last 2 months ago
  4. jk 1 times, last 5 months ago
  5. Akshay 5 times, last 5 months ago
2 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>(ProcessImpl.java:386)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:137)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    5. java.lang.Runtime.exec(Runtime.java:620)
    6. java.lang.Runtime.exec(Runtime.java:450)
    7. java.lang.Runtime.exec(Runtime.java:347)
    7 frames
  3. sh.calaba.utils
    DefaultAdbConnection.runProcess
    1. sh.calaba.utils.DefaultAdbConnection.runProcess(DefaultAdbConnection.java:76)
    1 frame
  4. sh.calaba.driver
    CalabashServlet.doPost
    1. sh.calaba.driver.utils.CalabashAdbCmdRunner.deleteSavedAppData(CalabashAdbCmdRunner.java:110)
    2. sh.calaba.driver.server.CalabashProxy.initializeCalabashServer(CalabashProxy.java:180)
    3. sh.calaba.driver.server.CalabashProxy.startCalabashServerAndStartConnector(CalabashProxy.java:216)
    4. sh.calaba.driver.server.CalabashProxy.initializeSessionForCapabilities(CalabashProxy.java:120)
    5. sh.calaba.driver.server.command.impl.NewSession.handle(NewSession.java:50)
    6. sh.calaba.driver.server.servlet.CalabashServlet.getResponse(CalabashServlet.java:139)
    7. sh.calaba.driver.server.servlet.CalabashServlet.process(CalabashServlet.java:76)
    8. sh.calaba.driver.server.servlet.CalabashServlet.doPost(CalabashServlet.java:54)
    8 frames
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  6. Jetty
    HttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:533)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:475)
    3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
    4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:920)
    5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)
    6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)
    7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:856)
    8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
    10. org.eclipse.jetty.server.Server.handle(Server.java:352)
    11. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
    12. org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1066)
    13. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:805)
    14. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
    15. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)
    15 frames
  7. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
    3. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
    3 frames
  8. Jetty
    QueuedThreadPool$2.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame