java.io.IOException

Cannot run program "git.cmd": CreateProcess error=2, Не удается найти указанный файл

Samebug tips1

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


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Stack trace

  • java.io.IOException: Cannot run program "git.cmd": CreateProcess error=2, Не удается найти указанный файл at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:368) at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:354) at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:37) at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:38) at git4idea.config.GitExecutableDetector.runs(GitExecutableDetector.java:221) at git4idea.config.GitExecutableDetector.checkSoleExecutable(GitExecutableDetector.java:173) at git4idea.config.GitExecutableDetector.detectForWindows(GitExecutableDetector.java:95) at git4idea.config.GitExecutableDetector.detect(GitExecutableDetector.java:62) at git4idea.GitVcs.checkExecutableAndVersion(GitVcs.java:312) 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 com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369) 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) Caused by: java.io.IOException: CreateProcess error=2, Не удается найти указанный файл at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:386) at java.lang.ProcessImpl.start(ProcessImpl.java:137) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 25 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

gpgekkogpgekko
3 times, last one
Unknown visitor
Unknown visitorOnce,
eti22eti22
Once,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
161 more bugmates