com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe" (in directory "."): CreateProcess error=2, The system cannot find the file specified

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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

Solutions on the web

via google.com by Unknown author, 1 year ago
via YouTrack by Unknown author, 1 year ago
Cannot run program "/usr/bin/git" (in directory "/Users/anton/Projects/apple/TheGame"): error=2, No such file or directory
via YouTrack by Unknown author, 1 year ago
Cannot run program "git.exe" (in directory "C:\Users\yulia.zozulya\PycharmProjects\untitled"): CreateProcess error=2, The system cannot find the file specified
via YouTrack by Unknown author, 1 year ago
Cannot run program "/some/path/script.sh" (in directory "/teamcity/work/fa557cf1124375f8"): java.io.IOException: error=13, Permission denied
via Stack Overflow by Maysara
, 1 year ago
Cannot run program "/home/maysara/Android/Sdk/tools/emulator": error=13, Permission denied
via YouTrack by Unknown author, 1 year ago
Cannot run program "/home/ken/dev/servers/jboss-6.0.0.20100911-M5/bin/shutdown.sh -S" (in directory "/home/ken/dev/servers/jboss-6.0.0.20100911-M5/bin"): java.io.IOException: error=2, No such file or directory
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe" (in directory "."): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:385)
at java.lang.ProcessImpl.start(ProcessImpl.java:136)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:261)
at git4idea.commands.GitTextHandler.createProcess(GitTextHandler.java:125)
at git4idea.commands.GitTextHandler.startProcess(GitTextHandler.java:57)
at git4idea.commands.GitHandler.start(GitHandler.java:462)
at git4idea.commands.GitHandler.runInCurrentThread(GitHandler.java:807)
at git4idea.commands.GitHandlerUtil.runInCurrentThread(GitHandlerUtil.java:185)
at git4idea.commands.GitHandlerUtil.runInCurrentThread(GitHandlerUtil.java:165)
at git4idea.commands.GitTask$ModalTask.execute(GitTask.java:334)
at git4idea.commands.GitTask$GitTaskDelegate.run(GitTask.java:379)
at git4idea.commands.GitTask$ModalTask.run(GitTask.java:328)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:281)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:645)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.