com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe": 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

,
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 "git.exe": CreateProcess error=2, Не удается найти указанный файл
via YouTrack by Unknown author, 11 months ago
Cannot run program "/usr/bin/git": error=2, Adresár alebo súbor neexistuje
via YouTrack by Unknown author, 1 year ago
Cannot run program "grunt" (in directory "/home/avatar/WebstormProjects/s2app"): error=2, No such file or directory
via GitHub by chrissound
, 10 months ago
Cannot run program "/usr/bin" (in directory "/home/archie/projects/hbook/mybeT"): error=13, Permission denied
via GitHub by claudfernandes
, 1 day ago
Cannot run program "C:\Users\claud\Development\flutter\bin\flutter.bat" (in directory "C:\Users\claud\Development\flutter"): CreateProcess error=5, Access is denied
via GitHub by david-benes
, 7 months ago
Cannot run program "\usr\local\bin\node.exe" (in directory "C:\Users\user1\.WebStorm2016.3\config\plugins"): CreateProcess error=2, Systém nemůže nalézt uvedený soubor
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe": 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 com.intellij.execution.process.OSProcessHandler.(OSProcessHandler.java:37)
at com.intellij.execution.process.CapturingProcessHandler.(CapturingProcessHandler.java:38)
at git4idea.config.GitExecutableValidator.isExecutableValid(GitExecutableValidator.java:50)
at git4idea.GitVcs.checkExecutableAndVersion(GitVcs.java:311)
at git4idea.GitVcs.activate(GitVcs.java:289)
at com.intellij.openapi.vcs.StartedActivated$3.run(StartedActivated.java:53)
at com.intellij.openapi.vcs.StartedActivated.callImpl(StartedActivated.java:99)
at com.intellij.openapi.vcs.StartedActivated.doActivate(StartedActivated.java:112)
at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$MyVcsActivator.activate(NewMappings.java:514)
at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.a(NewMappings.java:175)
at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.activateActiveVcses(NewMappings.java:126)
at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$2.run(NewMappings.java:95)
at com.intellij.openapi.vcs.impl.VcsInitialization.execute(VcsInitialization.java:87)
at com.intellij.openapi.vcs.impl.VcsInitialization$1$1.run(VcsInitialization.java:52)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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, 5 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago

Write tip

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