java.io.IOException: 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

,

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 Oracle Community by Anindya Chatterjee90, 1 year ago
Cannot run program "SQLPLUS": CreateProcess error=2, The system cannot find the file specified
via Google Groups by Thibault DUCHATEAU, 2 years ago
Cannot run program "...\glassfishesb-v2.2-full- installer-windows.exe": CreateProcess error=5, Accès refusé
via Stack Overflow by Manoj Krishna
, 1 year ago
Cannot run program "cd C:\glm": CreateProcess error=2, The system cannot find the file specified
via GitHub by matthewgretton
, 1 year ago
Cannot run program "C:\Program Files\Java\jdk1.8.0_40\bin\java" (in directory "D:\derived-data\data-snapper"): CreateProcess error=206, The filename or extension is too long
via GitHub by garethky
, 1 year ago
Cannot run program "bash": CreateProcess error=2, The syste m cannot find the file specified
via YouTrack by Unknown author, 1 year ago
Cannot run program "p4" (in directory "C:\Users\ariel\Documents\vranz\mqw"): CreateProcess error=2, The system cannot find the file specified
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 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, 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.