mjava.io.IOException: Cannot run program "date" (in directory C:\Work\hudson\hudsonHome\distfork8999019989670479689.tmp"): 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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by Andrea Barbieri, 1 year ago
Cannot run program "date" (in directory C:\Work\hudson\hudsonHome\distfork8999019989670479689.tmp"): CreateProcess error=2, The system cannot find the file specified
via Jenkins JIRA by Andrea Barbieri, 1 year ago
Cannot run program "date" (in directory C:\Work\hudson\hudsonHome\distfork8999019989670479689.tmp"): CreateProcess error=2, The system cannot find the file specified
via Jenkins JIRA by tieTYT, 1 year ago
Cannot run program "/bin/sh" (in directory "/opt/hudson/jobs/AppName/workspace"): java.io.IOException: error=2, No such file or directory
via Jenkins JIRA by tieTYT, 1 year ago
Cannot run program "/bin/sh" (in directory "/opt/hudson/jobs/AppName/workspace"): java.io.IOException: error=2, No such file or directory
via jenkins-ci.org by Unknown author, 1 year ago
Cannot run program "cmd" (in directory "d:\hudson\workspace\Test-BuildConf"): CreateProcess error=267, The directory name is invalid
via hudson-ci.org by Unknown author, 2 years ago
Cannot run program "cmd" (in directory "d:\hudson\workspace\Test-BuildConf"): CreateProcess error=267, The directory name is invalid
mjava.io.IOException: Cannot run program "date" (in directory C:\Work\hudson\hudsonHome\distfork8999019989670479689.tmp"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.(Proc.java:149)
at hudson.Proc$LocalProc.(Proc.java:121)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
at hudson.Launcher$ProcStarter.start(Launcher.java:268)
at hudson.Launcher$ProcStarter.join(Launcher.java:275)
at hudson.plugins.distfork.DistForkCommand$1.run(DistForkCommand.java:147)
at hudson.plugins.distfork.DistForkTask$1.run(DistForkTask.java:70)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:122)

Users with the same issue

Once, 1 day ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
3 times, 5 months ago

Write tip

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