java.io.IOException: Cannot run program "openfl" (in directory "C:\DEVEXAMPLES\haxe3\HaxePunk-master\build-test"): 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 GitHub by blurmonk
, 1 year ago
Cannot run program "openfl" (in directory "C:\DEVEXAMPLES\haxe3\HaxePunk-master\build-test"): CreateProcess error=2, The system cannot find the file specified
via Geographic Information Systems by mete7
, 1 year ago
Cannot run program "git.cmd": CreateProcess error=2, System cannot find the file(translated to english)
via stackexchange.com by Unknown author, 1 year ago
Cannot run program "git.cmd": CreateProcess error=2, System cannot find the file(translated to english)
via Stack Overflow by MJgirl
, 2 years ago
Cannot run program "svnversion" (in directory "C:\Users\Jaana\Documents\NetBeansProjects\tuha"): CreateProcess error=2, The system cannot find the file specified
via Google Groups by jyo, 2 years ago
Cannot run program "cucumber" : CreateProcess error=2, The system cannot find the file specified
via Google Groups by shashidhar, 1 year ago
Cannot run program "svnversion": CreateProcess error =2, The system cannot find the file specified
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:376)
at java.lang.ProcessImpl.start(ProcessImpl.java:136)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
at java.lang.Runtime.exec(Runtime.java:617)
at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:862)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:481)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:495)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:631)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

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.