java.io.IOException: Cannot run program "bash" (in directory "C:\Users\myUser"): CreateProcess error=2, The system cannot find the file specified

adaptris.net | 5 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

    Version Control with Git - Interlok Documentation

    adaptris.net | 5 months ago
    java.io.IOException: Cannot run program "bash" (in directory "C:\Users\myUser"): CreateProcess error=2, The system cannot find the file specified
  2. 0

    IOException while building

    GitHub | 2 years ago | Martin-Wegner
    java.io.IOException: Cannot run program "bash" (in directory "C:\Users\user"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
  3. 0

    Boot.exe does not start on Windows - Questions, help - Hoplon

    discoursehosting.net | 1 year ago
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [SOLVED]Qt Throwing error when attempting to compile android APK | Qt Forum

    qt.io | 6 months ago
    java.io.IOException: Cannot run program "C:\Users\Roberto\Desktop\build-CopyMe-Android_for_armeabi_GCC_4_9_Qt_5_3_2-Debug\android-build\${aidl}": CreateProcess error=2, The system cannot find the file specified
  6. 0

    can we use Taurus in ANT Build

    Google Groups | 12 months ago | surendra matta
    java.io.IOException: Cannot run program "bzt" (in directory "D:\apache-jmeter-2.13"): 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=2, The system cannot find the 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:386)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:137)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    5. java.lang.Runtime.exec(Runtime.java:620)
    5 frames
  3. JGit - Core
    FileRepositoryBuilder.build
    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)
    6 frames
  4. com.adaptris.vcs
    GitVCS.update
    1. com.adaptris.vcs.git.api.JGitApi.getRepository(JGitApi.java:252)
    2. com.adaptris.vcs.git.api.JGitApi.getBareRepository(JGitApi.java:239)
    3. com.adaptris.vcs.git.api.JGitApi.updateCopy(JGitApi.java:296)
    4. com.adaptris.vcs.git.api.JGitApi.update(JGitApi.java:119)
    5. com.adaptris.vcs.git.GitVCS.update(GitVCS.java:86)
    5 frames
  5. com.adaptris.core
    StandardBootstrap.main
    1. com.adaptris.core.management.UnifiedBootstrap.o00000(UnifiedBootstrap.java:81)
    2. com.adaptris.core.management.UnifiedBootstrap.createAdapter(UnifiedBootstrap.java:70)
    3. com.adaptris.core.management.oOOO.o00000(CmdLineBootstrap.java:67)
    4. com.adaptris.core.management.StandardBootstrap.standardBoot(StandardBootstrap.java:59)
    5. com.adaptris.core.management.StandardBootstrap.boot(StandardBootstrap.java:37)
    6. com.adaptris.core.management.StandardBootstrap.main(StandardBootstrap.java:72)
    6 frames