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

  1. ,
    Expert tip

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

  2. ,
    Expert tip

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

Solutions on the web

via ejbca by johnmadof
, 1 year ago
Cannot run program "keytool" (in directory "/opt/ejbca_ce_6_1_1"): java.io.IOException: error=2, No such file or directory
via Stack Overflow by WooKong
, 10 months ago
Cannot run program "sqlldr": error=2, A file or directory in the path name does not exist.
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 Apache Bugzilla by minfrin, 7 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
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 GitHub by madias123
, 2 years ago
Cannot run program "/Users/madias/Documents/Arduino/hardware/Arduino_STM32/tools/win/upload_router": error=2, No such file or directory
java.io.IOException: java.io.IOException: error=2, No such file or directory	at java.lang.UNIXProcess.(UNIXProcess.java:148)	at java.lang.ProcessImpl.start(ProcessImpl.java:65)	at java.lang.ProcessBuilder.start(ProcessBuilder.java:458)	at java.lang.Runtime.exec(Runtime.java:593)	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.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	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.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	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.MacroInstance.execute(MacroInstance.java:396)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	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.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	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.UnknownElement.execute(UnknownElement.java:293)	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	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.GeneratedMethodAccessor4.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	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.Main.startAnt(Main.java:236)	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)