java.io.IOException: Cannot run program "C:\app\Ephrem\product\12.1.0\dbhome_1\bin\diagsetup.bat": 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.

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

Solutions on the web

via Oracle Community by 3052729, 1 year ago
Cannot run program "C:\app\Ephrem\product\12.1.0\dbhome_1\bin\diagsetup.bat": CreateProcess error=2, The system cannot find the file specified
via Oracle Community by fxmatz, 1 year ago
Cannot run program "C:\oracle\db12c\product\12.1.0\dbhome_1\bin\diagsetup.bat": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
via nabble.com by Unknown author, 1 year ago
Cannot run program "wine" (in directory "/Users/minfrin/src/tomcat/TOMCAT_7_0_59/output/dist"): error=2, No such file or directory
via Google Groups by tom lurge, 2 years ago
Cannot run program "/Users/me/aggregation/hadoop/mapper.js": error=13, Permission denied
via apache.org by Unknown author, 1 year ago
Cannot run program "wine" (in directory "/Users/minfrin/src/tomcat/TOMCAT_7_0_59/output/dist"): error=2, No such file or directory
via Apache Bugzilla by minfrin, 6 months ago
Cannot run program "wine" (in directory "/Users/minfrin/src/tomcat/TOMCAT_7_0_59/output/dist"): error=2, No such file or directory
java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:273)
at java.lang.ProcessImpl.start(ProcessImpl.java:31)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
at oracle.install.commons.system.process.ProcessLauncher.start(ProcessLauncher.java:60)
at oracle.install.commons.system.process.ProcessLauncher.launchProcess(ProcessLauncher.java:88)
at oracle.install.commons.system.process.ProcessLauncher.launch(ProcessLauncher.java:147)
at oracle.install.ivw.common.driver.DiagsetupToolJob.call(DiagsetupToolJob.java:165)
at oracle.install.ivw.common.driver.DiagsetupToolJob.call(DiagsetupToolJob.java:207)
at oracle.install.ivw.common.driver.DiagsetupToolJob.call(DiagsetupToolJob.java:56)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:682)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
3 times, 6 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

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