java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified

hivmr.com | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    db:: 3.84::starting tomcat issue 73

    hivmr.com | 9 months ago
    java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
  2. 0

    Issue with starting tomcat in windows for webcenter sites installation

    Oracle Community | 4 years ago | 1011218
    java.io.IOException: Cannot run program "C:\Program": CreateProcess error=2, The system cannot find the file specified
  3. 0
    samebug tip
    You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    how to rename or refactor android package name using ant?

    Stack Overflow | 2 years ago | nitin
    java.io.IOException: Cannot run progra m ":D:\InstalledSoftwares\adt-bundle-windows-x86-20130219\sdk\tools\build-tools\ 22.0.1\aapt.exe": CreateProcess error=2, The system cannot find the file specifi ed

  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 error=2, The system cannot find th e file specified

    at java.lang.ProcessImpl.create()
  2. Java RT
    Runtime.exec
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.init(ProcessImpl.java:288)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:133)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
    5. java.lang.Runtime.exec(Runtime.java:615)
    6. java.lang.Runtime.exec(Runtime.java:483)
    6 frames
  3. Java Tools
    TTY.main
    1. com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:180)
    2. com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:132)
    3. com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:235)
    4. com.sun.tools.example.debug.tty.VMConnection.launchTarget(VMConnection.java:495)
    5. com.sun.tools.example.debug.tty.VMConnection.open(VMConnection.java:326)
    6. com.sun.tools.example.debug.tty.Commands.commandRun(Commands.java:559)
    7. com.sun.tools.example.debug.tty.TTY.executeCommand(TTY.java:491)
    8. com.sun.tools.example.debug.tty.TTY.init(TTY.java:765)
    9. com.sun.tools.example.debug.tty.TTY.main(TTY.java:1067)
    9 frames