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

YouTrack | 2 months ago
  1. 0

    Trying to access remote host. Connection is good, but there is no files. Tried to access to server with the same credentials via Filezilla and everything works fine.

    YouTrack | 2 months ago
    java.io.IOException: Cannot run program "git.exe": CreateProcess error=2, Не удается найти указанный файл
  2. 0

    Almost lost my project

    YouTrack | 2 days ago
    java.io.IOException: Cannot run program "/usr/bin/git": error=2, Adresár alebo súbor neexistuje
  3. 0

    Hangs on REPL Start: Error when starting java process due to length of classpath

    GitHub | 1 year ago | matthewgretton
    java.io.IOException: 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android studio Beta 8.9 Error

    Stack Overflow | 2 years ago | nexDev
    java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.8.0_05\bin\java" (in directory "C:\Users\magic\.AndroidStudioBeta\system\compile-server"): CreateProcess error=2, The system cannot find the file specified
  6. 0

    Does not work on Windows

    GitHub | 2 years ago | agross
    java.io.IOException: Cannot run program "bundle" (in directory "C:/somewhere"): CreateProcess error=2, The system cannot find the file specified

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    CreateProcess error=2, Не удается найти указанный файл

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:137)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    4 frames
  3. Openapi
    GeneralCommandLine.createProcess
    1. com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:368)
    2. com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:354)
    2 frames
  4. IDEA
    ExecutableValidator.doCheckExecutable
    1. com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:37)
    2. com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:38)
    3. com.intellij.execution.ExecutableValidator.doCheckExecutable(ExecutableValidator.java:110)
    3 frames
  5. git4idea.config
    GitExecutableValidator.isExecutableValid
    1. git4idea.config.GitExecutableValidator.isExecutableValid(GitExecutableValidator.java:50)
    1 frame
  6. IDEA
    ExecutableValidator.checkExecutableAndNotifyIfNeeded
    1. com.intellij.execution.ExecutableValidator.validate(ExecutableValidator.java:85)
    2. com.intellij.execution.ExecutableValidator.checkExecutableAndNotifyIfNeeded(ExecutableValidator.java:187)
    2 frames
  7. git4idea
    GitVcs.activate
    1. git4idea.GitVcs.checkExecutableAndVersion(GitVcs.java:319)
    2. git4idea.GitVcs.activate(GitVcs.java:289)
    2 frames
  8. IDEA
    ApplicationImpl$8.run
    1. com.intellij.openapi.vcs.StartedActivated$3.run(StartedActivated.java:53)
    2. com.intellij.openapi.vcs.StartedActivated.callImpl(StartedActivated.java:99)
    3. com.intellij.openapi.vcs.StartedActivated.doActivate(StartedActivated.java:112)
    4. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$MyVcsActivator.activate(NewMappings.java:514)
    5. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.a(NewMappings.java:175)
    6. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.activateActiveVcses(NewMappings.java:126)
    7. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$2.run(NewMappings.java:95)
    8. com.intellij.openapi.vcs.impl.VcsInitialization.execute(VcsInitialization.java:87)
    9. com.intellij.openapi.vcs.impl.VcsInitialization$1$1.run(VcsInitialization.java:52)
    10. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    10 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames