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

Oracle Community | 807553 | 2 decades ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael and rafael . Or join the community to write better ones.
  1. 0

    Free Disc Space

    Oracle Community | 2 decades ago | 807553
    java.io.IOException: CreateProcess: dir C:\ error=2
  2. 0
    samebug tip
    You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");
  3. 0
    samebug tip
    If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Netbeans IDE Users - mysqldump - The system cannot find the file specified

    nabble.com | 1 year ago
    java.io.IOException: Cannot run program "mysqldump": CreateProcess error=2, > The system cannot find the file specified
  6. 0

    Graylog2 won't start on Windows

    GitHub | 6 years ago | garethky
    java.io.IOException: Cannot run program "bash": CreateProcess error=2, The syste m cannot find the file specified

  1. PKeidel 3 times, last 5 months ago
  2. serious2monkeys 1 times, last 6 months ago
  3. Handemelindo 6 times, last 7 months ago
  4. kid 5 times, last 7 months ago
  5. rp 2 times, last 7 months ago
4 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: dir C:\ error=2

    at java.lang.Win32Process.create()
  2. Java RT
    Runtime.exec
    1. java.lang.Win32Process.create(Native Method)
    2. java.lang.Win32Process.<init>(Win32Process.java:66)
    3. java.lang.Runtime.execInternal(Native Method)
    4. java.lang.Runtime.exec(Runtime.java:553)
    5. java.lang.Runtime.exec(Runtime.java:419)
    6. java.lang.Runtime.exec(Runtime.java:361)
    7. java.lang.Runtime.exec(Runtime.java:325)
    7 frames
  3. Unknown
    Disc.main
    1. Disc.execute(Disc.java:138)
    2. Disc.getDOSDrives(Disc.java:110)
    3. Disc.getDrives(Disc.java:58)
    4. Disc.main(Disc.java:32)
    4 frames