java.io.IOException: Cannot run program "java" (in directory ".\NewFolder???"): CreateProcess error=267, The directory name is invalid

JDK Bug System | David Korbel | 7 years 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

    Clearcase plugin for Eclipse / Discussion / Help:Exception when using quick refresh

    sourceforge.net | 1 year ago
    net.sourceforge.clearcase.ClearCaseException: i/o error (java.io.IOException: Cannot run program "cleartool" (in directory "C:\dev\views\rsteele_ws_spr2009p1_import_view\xxx\foo\bar\...\builder\BuildingException.java"): CreateProcess error=267, The directory name is invalid)
  2. 0

    Agent started via agent.bat can't upgrade if started on Windows 2008 server

    YouTrack | 7 years ago
    java.io.IOException: Cannot run program "cmd.exe" (in directory "C:\TeamCity\BuildAgent\bin"): CreateProcess error=267, The directory name is invalid
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Exception when using quick refresh

    eclipse-ccase | 8 years ago | rasteele
    net.sourceforge.clearcase.ClearCaseException: i/o error (java.io.IOException: Cannot run program "cleartool" (in directory "C:\dev\views\rsteele\_ws\_spr2009p1\_import\_view\xxx\foo\bar\\...\builder\BuildingException.java"): CreateProcess error=267, The directory name is invalid)
  5. 0

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

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

  1. PKeidel 3 times, last 2 months ago
  2. serious2monkeys 1 times, last 3 months ago
  3. Handemelindo 6 times, last 4 months ago
  4. kid 5 times, last 4 months ago
  5. rp 2 times, last 4 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=267, The directory name is invalid

    at java.lang.ProcessImpl.create()
  2. Java RT
    Runtime.exec
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:30)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    5. java.lang.Runtime.exec(Runtime.java:593)
    6. java.lang.Runtime.exec(Runtime.java:431)
    6 frames
  3. Unknown
    ExecGB18030.main
    1. ExecGB18030.main(ExecGB18030.java:14)
    1 frame