java.io.IOException: Cannot run program "mqsiapplybaroverride" (in directory "D:\Ant Build and Deployment Scripts\AntBuild\Scripts"): 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

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via Stack Overflow by Rashmi
, 1 year ago
Cannot run program "mqsiapplybaroverride" (in directory "D:\Ant Build and Deployment Scripts\AntBuild\Scripts"): CreateProcess error=2, The system cannot find the file specified
via Oracle Community by 8fdff1b0-7514-48d5-a45e-8f0555186907, 1 year ago
Cannot run program "\bin\java" (in directory "C:\Users\Juraj\Documents\NetBeansProjects\javafx-samples-2.2.45\src\Ensemble"): CreateProcess error=2, The system cannot find the file specified
via GitHub by dannydong
, 1 year ago
Cannot run program "node" (in directory "D:\Software\test_tool\Web\harviewer-m aster_2016.5.31\harviewer-master\webapp\scripts"): CreateProcess error=2, The system cannot find the file specified
via apache.org by Unknown author, 1 year ago
Cannot run program "C:\Users\XXX\workspace\Tomcat 8\output\dist\tempinstaller.exe" (in directory "C:\Users\XXX\workspace\Tomcat 8\output\dist"): CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by nitin
, 2 years ago
Cannot run progra m ":D:\InstalledSoftwares\adt-bundle-windows-x86-20130219\sdk\tools\build-tools\ 22.0.1\aapt.exe": CreateProcess error=2, The system cannot find the file specifi ed
via Stack Overflow by ling wang
, 2 months ago
Cannot run program "make" (in directory "/tmp/cassandra/doc"): error=2, No such file or directory
java.io.IOException: Cannot run program "mqsiapplybaroverride" (in directory "D:\Ant Build and Deployment Scripts\AntBuild\Scripts"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:397)
at java.lang.ProcessImpl.start(ProcessImpl.java:148)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1040)
at java.lang.Runtime.exec(Runtime.java:629)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:440)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at net.sf.antcontrib.logic.ForDelegate.doSequentialIteration(ForDelegate.java:228)
at net.sf.antcontrib.logic.ForDelegate.doTheTasks(ForDelegate.java:253)
at net.sf.antcontrib.logic.ForDelegate.execute(ForDelegate.java:213)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:854)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
151 more bugmates

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