java.io.IOException

Cannot run program "tesseract": CreateProcess error=2, The system cannot find the file specified

Samebug tips2

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web21130

  • Cannot run program "tesseract": CreateProcess error=2, The system cannot find the file specified
  • via iteye.com by Unknown author, 1 year ago
    Cannot run program "E:\workspace\workspace_image\image\tesseract\tesseract" (in directory "E:\workspace\workspace_image\imgpro\test"): CreateProcess error=2, The system cannot find the file specified
  • via Coderanch by sureshreddy govindu, 8 months ago
    Cannot run program "/C:/Program": CreateProcess error=2, The system cannot find the file specified
  • Stack trace

    • java.io.IOException: Cannot run program "tesseract": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at Main.main(Main.java:15) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 9 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    142 more bugmates