java.io.IOException: CreateProcess: command /c cls er ror=2

Coderanch | jungil | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How can I clear the screen?

    Coderanch | 2 decades ago | jungil
    java.io.IOException: CreateProcess: command /c cls er ror=2
  2. 0

    Java Runtime.getRuntime().exec on Windows error

    Stack Overflow | 5 years ago | John R
    java.io.IOException: Cannot run program "nmap -sP 192.168.1.0/24": CreateProcess error=2, The system cannot find the file specified
  3. 0

    Getting an error while running Runtime.exec method in java

    Stack Overflow | 1 year ago | priyam singh
    java.io.IOException: Cannot run program "priyam.bat" (in directory "D:\"): 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

    Executing DOS commands in Java

    Oracle Community | 1 decade ago | 807597
    java.io.IOException: CreateProcess: dir error=2
  6. 0

    System (Runtime) execute command for copying the file

    Oracle Community | 1 decade ago | 843790
    java.io.IOException: CreateProcess: C:\windows\command /c copy C:\pbx\mantra\vvvvv.mp3 C:\rrr\mantra \mantra.mp3 error=2

  1. PKeidel 3 times, last 4 months ago
  2. serious2monkeys 1 times, last 5 months ago
  3. Handemelindo 6 times, last 6 months ago
  4. kid 5 times, last 6 months ago
  5. rp 2 times, last 6 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: command /c cls er ror=2

    at java.lang.Win32Process.create()
  2. Java RT
    Runtime.exec
    1. java.lang.Win32Process.create(Native Method)
    2. java.lang.Win32Process.<init>(Unknown Source)
    3. java.lang.Runtime.execInternal(Native Method)
    4. java.lang.Runtime.exec(Unknown Source)
    5. java.lang.Runtime.exec(Unknown Source)
    6. java.lang.Runtime.exec(Unknown Source)
    7. java.lang.Runtime.exec(Unknown Source)
    7 frames
  3. Unknown
    Test.main
    1. Test.main(Test.java:3)
    1 frame