java.io.IOException: CreateProcess: dir error=2

tip

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

tip

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

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

  • Runtime.exec()
    via by A. Wolf,
  • When Runtime.exec() won't | JavaWorld
    via by Unknown author,
  • When Runtime.exec() won't | JavaWorld
    via by Unknown author,
  • Help with runtime.exe and javac from command line
    via by Cecil Phillip,
  • Concole commands
    via by 843829,
  • Executing DOS commands in Java
    via by 807597,
    • java.io.IOException: CreateProcess: dir 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) at something.main(something.java:36)

    Users with the same issue

    PKeidel
    PKeidel3 times, last one,
    serious2monkeys
    serious2monkeys1 times, last one,
    Handemelindo
    Handemelindo6 times, last one,
    kid
    kid5 times, last one,
    Unknown visitor1 times, last one,
    79 more bugmates