java.io.IOException: Cannot run program "bash" (in directory "C:\test"): CreateProcess error=2,

eclipse.org | 7 months 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

    Eclipse Community Forums: EGit / JGit ยป JGit requires bash?

    eclipse.org | 7 months ago
    java.io.IOException: Cannot run program "bash" (in directory "C:\test"): CreateProcess error=2,
  2. 0

    jadclipse Error during DECOMPILATION REPORT

    Stack Overflow | 5 years ago | Revathi
    java.io.IOException: Cannot run program "jad" (in directory "C:\Documents and Settings\Sai\.net.sf.jadclipse\1321168101468"): CreateProcess error=2, The system cannot find the file specified
  3. 0

    JadClipse - Eclipse plugin / Mailing Lists

    sourceforge.net | 6 months ago
    java.io.IOException: Cannot run program "jad" (in directory "C:\MingHan\eclipse\ExtraPlugin\.net.sf.jadclipse\1316099352817"): 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

    Java IOException When Trying to Run a Bat File in Another Directory

    Stack Overflow | 4 years ago | Horotho
    java.io.IOException: Cannot run program "recompile.bat" (in directory "C:\Users\Aaron\Documents\MinecraftForge\forge\mcp"): CreateProcess error=2, The system cannot find the file specified
  6. 0

    {Cannot run program "octave"} in Windows Eclipse

    Stack Overflow | 3 years ago | hossayni
    java.io.IOException: Cannot run program "octave": CreateProcess error=2, The system cannot find the file specified

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

    Cannot run program "bash" (in directory "C:\test"): CreateProcess error=2,

    at java.lang.ProcessBuilder.start()
  2. Java RT
    Runtime.exec
    1. java.lang.ProcessBuilder.start(Unknown Source)
    2. java.lang.Runtime.exec(Unknown Source)
    2 frames
  3. JGit - Core
    FileRepositoryBuilder.create
    1. org.eclipse.jgit.util.FS.readPipe(FS.java:431)
    2. org.eclipse.jgit.util.FS_Win32.discoverGitPrefix(FS_Win32.java:113)
    3. org.eclipse.jgit.util.FS.gitPrefix(FS.java:517)
    4. org.eclipse.jgit.util.SystemReader$Default.openSystemConfig(SystemReader.java:92)
    5. org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:171)
    6. org.eclipse.jgit.storage.file.FileRepositoryBuilder.build(FileRepositoryBuilder.java:92)
    7. org.eclipse.jgit.storage.file.FileRepositoryBuilder.create(FileRepositoryBuilder.java:110)
    7 frames