java.io.IOException

CreateProcess somecmd error=2

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 web10748

  • via Coderanch by Sandeep Lakshmipathy, 11 months ago
    CreateProcess somecmd error=2
  • via Coderanch by Rich Smyth, 7 months ago
    CreateProcess: startup.bat error=2
  • via Coderanch by Ajit Deshpande2, 11 months ago
    CreateProcess: dir error=2
  • Stack trace

    • java.io.IOException: CreateProcess somecmd error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.<init>(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source)

    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

    Once, 1 week ago
    3 times, 7 months ago
    Once, 7 months ago
    6 times, 8 months ago
    5 times, 9 months ago
    80 more bugmates