java.io.IOException: Cannot run program "git.exe" (in directory "F:\srv2\OpenServer\domains\aqc.local"): CreateProcess error=2, Не удается найти указанный файл

YouTrack | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 | 7 months ago
    java.io.IOException: Cannot run program "git.exe" (in directory "F:\srv2\OpenServer\domains\aqc.local"): CreateProcess error=2, Не удается найти указанный файл
  2. 0

    Almost lost my project

    YouTrack | 6 months ago
    java.io.IOException: Cannot run program "/usr/bin/git" (in directory "/var/www/html/wrinche"): 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 | 2 years 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 | 3 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. zbalint 16 times, last 5 days ago
  2. rp 1 times, last 5 months ago
  3. michallos 1 times, last 6 months ago
  4. eti22 1 times, last 7 months ago
  5. asdasd 24 times, last 8 months ago
3 more registered users
92 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
    OSProcessHandler.<init>
    1. com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:37)
    1 frame
  5. git4idea.commands
    GitSimpleHandler.run
    1. git4idea.commands.GitTextHandler$MyOSProcessHandler.<init>(GitTextHandler.java:146)
    2. git4idea.commands.GitTextHandler$MyOSProcessHandler.<init>(GitTextHandler.java:144)
    3. git4idea.commands.GitTextHandler.createProcess(GitTextHandler.java:141)
    4. git4idea.commands.GitTextHandler.startProcess(GitTextHandler.java:61)
    5. git4idea.commands.GitHandler.start(GitHandler.java:441)
    6. git4idea.commands.GitHandler.runInCurrentThread(GitHandler.java:732)
    7. git4idea.commands.GitSimpleHandler.run(GitSimpleHandler.java:239)
    7 frames
  6. git4idea.config
    GitConfigUtil.getValue
    1. git4idea.config.GitConfigUtil.getValue(GitConfigUtil.java:121)
    1 frame
  7. git4idea
    GitUserRegistry$2.run
    1. git4idea.GitUserRegistry.readCurrentUser(GitUserRegistry.java:84)
    2. git4idea.GitUserRegistry.getOrReadUser(GitUserRegistry.java:70)
    3. git4idea.GitUserRegistry$2.run(GitUserRegistry.java:111)
    3 frames
  8. IDEA
    ApplicationImpl$8.run
    1. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    1 frame
  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