java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory

Jenkins JIRA | anuragh Reddy | 3 years ago
  1. 0

    1.I configured the polling SCM on my Build job. 2.Here is the output or stack trace from my polling log Started on Nov 14, 2013 10:59:07 AM $ "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe" history $/XXX -noprompt -version:C180~D2013-11-14T17:59:08Z -recursive -format:brief -server:https://XXXX.visualstudio.com/defaultcollection ******** FATAL: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478) at java.lang.ProcessBuilder.start(ProcessBuilder.java:457) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.plugins.tfs.TfTool.execute(TfTool.java:99) at hudson.plugins.tfs.model.Server.execute(Server.java:111) at hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1567) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) 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:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 21 more Done. Took 26 ms No changes

    Jenkins JIRA | 3 years ago | anuragh Reddy
    java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory
  2. 0

    1.I configured the polling SCM on my Build job. 2.Here is the output or stack trace from my polling log Started on Nov 14, 2013 10:59:07 AM $ "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe" history $/XXX -noprompt -version:C180~D2013-11-14T17:59:08Z -recursive -format:brief -server:https://XXXX.visualstudio.com/defaultcollection ******** FATAL: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478) at java.lang.ProcessBuilder.start(ProcessBuilder.java:457) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.plugins.tfs.TfTool.execute(TfTool.java:99) at hudson.plugins.tfs.model.Server.execute(Server.java:111) at hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1567) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) 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:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 21 more Done. Took 26 ms No changes

    Jenkins JIRA | 3 years ago | anuragh Reddy
    java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory
  3. 0

    Cannot run aapt

    GitHub | 4 years ago | jeromeernestgarcia
    java.io.IOException: Cannot run program "/Users/jeromegarcia/android-sdk-macosx/build-tools/17.0.0/aapt" (in directory "."): error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GWT Compilation Failed

    Google Groups | 7 years ago | Muthu
    java.io.IOException: Cannot run program "java": error=2, No such file or directory
  6. 0

    GWT Compilation Failed

    Google Groups | 7 years ago | Muthu
    java.io.IOException: Cannot run program "java": error=2, No such file or directory

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    error=2, No such file or directory

    at java.lang.UNIXProcess.forkAndExec()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.forkAndExec(Native Method)
    2. java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:91)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    4 frames
  3. Hudson
    Launcher$ProcStarter.start
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:773)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:353)
    4 frames
  4. hudson.plugins.tfs
    TeamFoundationServerScm.compareRemoteRevisionWith
    1. hudson.plugins.tfs.TfTool.execute(TfTool.java:99)
    2. hudson.plugins.tfs.model.Server.execute(Server.java:111)
    3. hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139)
    4. hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453)
    4 frames
  5. Hudson
    SequentialExecutionQueue$QueueEntry.run
    1. hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
    2. hudson.scm.SCM.poll(SCM.java:373)
    3. hudson.model.AbstractProject._poll(AbstractProject.java:1567)
    4. hudson.model.AbstractProject.poll(AbstractProject.java:1490)
    5. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
    6. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
    7. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
    7 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    6. java.lang.Thread.run(Thread.java:680)
    6 frames