java.io.IOException: Cannot run program "/usr/java/jdk1.6.0_22/bin/java.exe" (in directory "c:\hudson\workspace\trunk-installer-4am\sources"): 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

Solutions on the web

via JFrog JIRA by Nadav Cohen, 1 year ago
Cannot run program "/usr/java/jdk1.6.0_22/bin/java.exe" (in directory "c:\hudson\workspace\trunk-installer-4am\sources"): CreateProcess error=2, The system cannot find the file specified
via JFrog JIRA by Nadav Cohen, 1 year ago
Cannot run program "/usr/java/jdk1.6.0_22/bin/java.exe" (in directory "c:\hudson\workspace\trunk-installer-4am\sources"): CreateProcess error=2, The system cannot find the file specified
via Jenkins JIRA by sauravsengupta, 1 year ago
Cannot run program "/bin/bash" (in directory "C:\Hudson\workspace\spectrum_tap2"): CreateProcess error=3, The system cannot find the path specified
via Jenkins JIRA by sauravsengupta, 1 year ago
Cannot run program "/bin/bash" (in directory "C:\Hudson\workspace\spectrum_tap2"): CreateProcess error=3, The system cannot find the path specified
via Google Groups by hudson, 2 years ago
Cannot run program "rake.bat" (in directory "<http://xserve.openqa.org:8080/job/webdriver-firefox-3-win/ws/trunk")>: CreateProcess error=2, The system cannot find the file specified
via Google Groups by Simon Stewart, 4 months ago
Cannot run program "rake.bat" (in directory "<http://xserve.openqa.org:8080/job/webdriver-firefox-3-win/ws/trunk")>: 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.(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)

Users with the same issue

Once, 3 weeks ago
Once, 2 months ago
3 times, 5 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.