com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe" (in directory "F:\srv2\OpenServer\domains\aqc.local"): CreateProcess error=2, Не удается найти указанный файл

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

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Solutions on the web

via YouTrack by Unknown author, 1 year ago
Cannot run program "/usr/bin/git" (in directory "/var/www/html/wrinche"): error=2, Adresár alebo súbor neexistuje
via GitHub by dlsniper
, 2 years ago
Cannot run program "C:\go_appengine\goroot\..\goapp" (in directory "C:\go_appengine\goroot\.."): CreateProcess error=2, The system cannot find the file specified
via YouTrack by Unknown author, 2 years ago
Cannot run program "C:\Work\test-p4.bat": CreateProcess error=2, The system cannot find the file specified
via YouTrack by Unknown author, 2 years ago
Cannot run program "C:\Users\MyUsername\AppData\Local\Android\android-studio\sdk\tools\android.bat": CreateProcess error=2, Impossibile trovare il file specificato
, 2 years ago
Cannot run program "/usr/local/go_appengine/goroot/bin/go" (in directory "/usr/local/go_appengine/goroot/bin"): error=2, No such file or directory
java.io.IOException: CreateProcess error=2, Не удается найти указанный файл
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 com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:368)
at git4idea.commands.GitTextHandler$MyOSProcessHandler.(GitTextHandler.java:146)
at git4idea.commands.GitTextHandler$MyOSProcessHandler.(GitTextHandler.java:144)
at git4idea.commands.GitTextHandler.createProcess(GitTextHandler.java:141)
at git4idea.commands.GitTextHandler.startProcess(GitTextHandler.java:61)
at git4idea.commands.GitHandler.start(GitHandler.java:441)
at git4idea.commands.GitHandler.runInCurrentThread(GitHandler.java:732)
at git4idea.commands.GitSimpleHandler.run(GitSimpleHandler.java:239)
at git4idea.status.GitOldChangesCollector.updateIndex(GitOldChangesCollector.java:139)
at git4idea.status.GitOldChangesCollector.(GitOldChangesCollector.java:128)
at git4idea.status.GitOldChangesCollector.collect(GitOldChangesCollector.java:109)
at git4idea.status.GitChangeProvider.getChanges(GitChangeProvider.java:93)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:762)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:676)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$1900(ChangeListManagerImpl.java:76)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl$12.run(ChangeListManagerImpl.java:547)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.c(ChangeListManagerImpl.java:544)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$1600(ChangeListManagerImpl.java:76)
at com.intellij.openapi.vcs.changes.ChangeListManagerImpl$ActualUpdater.run(ChangeListManagerImpl.java:446)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
3 times, 6 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

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