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 | 1 week 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.config
    GitExecutableValidator.showNotificationOrThrow
    1. git4idea.config.GitExecutableValidator.showNotificationOrThrow(GitExecutableValidator.java:61)
    1 frame
  8. git4idea.status
    GitChangeProvider.getChanges
    1. git4idea.status.GitChangeProvider.getChanges(GitChangeProvider.java:111)
    1 frame
  9. IDEA
    UpdateRequestsQueue$MyRunnable.run
    1. com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:762)
    2. com.intellij.openapi.vcs.changes.ChangeListManagerImpl.a(ChangeListManagerImpl.java:676)
    3. com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$1900(ChangeListManagerImpl.java:76)
    4. com.intellij.openapi.vcs.changes.ChangeListManagerImpl$12.run(ChangeListManagerImpl.java:547)
    5. com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    6. com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    7. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    8. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    9. com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    10. com.intellij.openapi.vcs.changes.ChangeListManagerImpl.c(ChangeListManagerImpl.java:544)
    11. com.intellij.openapi.vcs.changes.ChangeListManagerImpl.access$1600(ChangeListManagerImpl.java:76)
    12. com.intellij.openapi.vcs.changes.ChangeListManagerImpl$ActualUpdater.run(ChangeListManagerImpl.java:446)
    13. com.intellij.openapi.vcs.changes.UpdateRequestsQueue$MyRunnable.run(UpdateRequestsQueue.java:268)
    13 frames
  10. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2 frames
  11. Openapi
    BoundedTaskExecutor$2.run
    1. com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
    2. com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:187)
    2 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames