java.io.IOException

Cannot run program "git.exe": 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.

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

Solutions on the web13095

  • Cannot run program "git.exe": CreateProcess error=2, Не удается найти указанный файл
  • via YouTrack by Unknown author, 1 year ago
    Cannot run program "C:\Users\--\.PyCharm40\restart\restarter.exe": CreateProcess error=2, Не удается найти указанный файл
  • Cannot run program "C:\Users\Pavel\.AndroidStudio1.5\restart\restarter.exe": CreateProcess error=2, Не удается найти указанный файл
  • Stack trace

    • java.io.IOException: Cannot run program "git.exe": 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 com.intellij.execution.ExecutableValidator.doCheckExecutable(ExecutableValidator.java:110) at git4idea.config.GitExecutableValidator.isExecutableValid(GitExecutableValidator.java:50) at com.intellij.execution.ExecutableValidator.isExecutableValid(ExecutableValidator.java:238) 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 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) ... 24 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

    3 times, 1 month ago
    Unknown user
    Once, 6 months ago
    Once, 8 months ago
    Unknown user
    Once, 9 months ago
    Unknown user
    Once, 11 months ago
    161 more bugmates