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

Solutions on the web

via Sonatype JIRA by Joe Tom, 1 year ago
Cannot run program "/usr/java/jre1.8.0_65/bin/java": error=2, No such file or directory
via Google Groups by Lynn Lin, 6 months ago
Cannot run program "docker": error=2, No such file or directory
via GitHub by akireev
, 2 years ago
Cannot run program "/usr/lib64/erlang/bin/erlc" (in directory "<CUT>"): error=2, Нет такого файла или каталога
via jwildfire.org by Unknown author, 2 years ago
Cannot run program ""/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java"": error=2, No such file or directory
java.io.IOException: Cannot run program "/usr/java/jre1.8.0_65/bin/java": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at com.install4j.runtime.installer.platform.JVMLocator.getVersionOutput(JVMLocator.java:163) at com.install4j.runtime.installer.platform.JVMLocator.checkJVMLocation(JVMLocator.java:138) at com.install4j.runtime.installer.platform.unix.UnixJVMLocator.searchRootLocation(UnixJVMLocator.java:46) at com.install4j.runtime.installer.platform.unix.UnixJVMLocator.getJVMLocations(UnixJVMLocator.java:30) at com.install4j.runtime.installer.platform.JVMLocator.getJVMLocations(JVMLocator.java:24) at com.install4j.runtime.installer.helper.apiimpl.JVMSelectorImpl.getJVMLocations(JVMSelectorImpl.java:30) at com.install4j.api.JVMSelector.getJVMLocations(JVMSelector.java:42) at com.sonatype.nexus.installer.JvmHelper.detect(JvmHelper.java:83) at com.install4j.script.I4jScript_Internal_164.eval(I4jScript_Internal_164.java:20) at com.install4j.script.I4jScript_Internal_164.evaluate(I4jScript_Internal_164.java:24) at com.install4j.runtime.installer.helper.Script.evaluate(Script.java:29) at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:181) at com.install4j.runtime.installer.ContextImpl.runScript(ContextImpl.java:176) at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(RunScriptAction.java:34) at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(SystemInstallOrUninstallAction.java:23) at com.install4j.runtime.installer.InstallerContextImpl$2.fetchValue(InstallerContextImpl.java:170) at com.install4j.runtime.installer.InstallerContextImpl$2.fetchValue(InstallerContextImpl.java:167) at com.install4j.runtime.installer.helper.comm.actions.FetchObjectAction.execute(FetchObjectAction.java:14) at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionDirect(HelperCommunication.java:266) at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(HelperCommunication.java:241) at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionChecked(HelperCommunication.java:179) at com.install4j.runtime.installer.helper.comm.HelperCommunication.fetchObjectChecked(HelperCommunication.java:162) at com.install4j.runtime.installer.InstallerContextImpl.performActionIntStatic(InstallerContextImpl.java:167) at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(InstallerContextImpl.java:155) at com.install4j.runtime.installer.ContextImpl.performAction(ContextImpl.java:1058) at com.install4j.runtime.installer.controller.Controller.executeActions(Controller.java:318) at com.install4j.runtime.installer.controller.Controller.handleCommand(Controller.java:170) at com.install4j.runtime.installer.controller.Controller.start(Controller.java:91) at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:41) at com.install4j.runtime.installer.Installer.main(Installer.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62) at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 36 more