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 YouTrack by Unknown author, 1 year ago
Cannot run program "git.exe" (in directory "F:\srv2\OpenServer\domains\aqc.local"): CreateProcess error=2, Не удается найти указанный файл
via YouTrack by Unknown author, 1 year ago
Cannot run program "C:\Users\MyUsername\AppData\Local\Android\android-studio\sdk\tools\android.bat": CreateProcess error=2, Impossibile trovare il file specificato
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 claudfernandes
, 1 month 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
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.config.GitConfigUtil.getValue(GitConfigUtil.java:121)
at git4idea.GitUserRegistry.readCurrentUser(GitUserRegistry.java:84)
at git4idea.GitUserRegistry.getOrReadUser(GitUserRegistry.java:70)
at git4idea.GitUserRegistry$2.run(GitUserRegistry.java:111)
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, 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.