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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via adaptris.net by Unknown author, 1 year ago
Cannot run program "bash" (in directory "C:\Users\myUser"): CreateProcess error=2, The system cannot find the file specified
via eclipse.org by Unknown author, 1 year ago
Cannot run program "bash" (in directory "C:\test"): CreateProcess error=2,
via Eclipse Bugzilla by eugene.petrenko, 1 year ago
Cannot run program "bash" (in directory "C:\Users\vmuser"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by Unknown author, 1 year ago
Cannot run program "bash" (in directory "C:\Users\Admin"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by Vivek Srivastava, 1 year ago
Cannot run program "bash" (in directory "C:\Users\tom"): CreateProcess error=2, The system cannot find the file specified
via GitHub by OhadR
, 1 year ago
Cannot run program "bash" (in directory "C:\Users\OhadR"): CreateProcess error=2, The system cannot find the file specified**
java.io.IOException: Cannot run program "bash" (in directory "C:\Users\myUser"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:620)
at org.eclipse.jgit.util.FS.readPipe(FS.java:431)
at org.eclipse.jgit.util.FS_Win32.discoverGitPrefix(FS_Win32.java:113)
at org.eclipse.jgit.util.FS.gitPrefix(FS.java:517)
at org.eclipse.jgit.util.SystemReader$Default.openSystemConfig(SystemReader.java:92)
at org.eclipse.jgit.internal.storage.file.FileRepository.(FileRepository.java:171)
at com.adaptris.vcs.git.api.JGitApi.getRepository(JGitApi.java:252)
at com.adaptris.vcs.git.api.JGitApi.getBareRepository(JGitApi.java:239)
at com.adaptris.vcs.git.api.JGitApi.updateCopy(JGitApi.java:296)
at com.adaptris.vcs.git.api.JGitApi.update(JGitApi.java:119)
at com.adaptris.vcs.git.GitVCS.update(GitVCS.java:86)
at com.adaptris.core.management.UnifiedBootstrap.o00000(UnifiedBootstrap.java:81)
at com.adaptris.core.management.UnifiedBootstrap.createAdapter(UnifiedBootstrap.java:70)
at com.adaptris.core.management.oOOO.o00000(CmdLineBootstrap.java:67)
at com.adaptris.core.management.StandardBootstrap.standardBoot(StandardBootstrap.java:59)
at com.adaptris.core.management.StandardBootstrap.boot(StandardBootstrap.java:37)
at com.adaptris.core.management.StandardBootstrap.main(StandardBootstrap.java:72)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
151 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.