org.jenkinsci.lib.envinject.EnvInjectException: java.io.IOException: Cannot run program "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows\jdk.exe" (in directory "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows"): CreateProcess error=740, The requested operation requires elevation

jenkins-ci.org | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JENKINS-29935] Installing JDK on Windows Slave 8.1 - Jenkins JIRA

    jenkins-ci.org | 10 months ago
    org.jenkinsci.lib.envinject.EnvInjectException: java.io.IOException: Cannot run program "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows\jdk.exe" (in directory "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows"): CreateProcess error=740, The requested operation requires elevation
  2. 0

    Jenkins Error: Powershell Integration with Jenkins

    Stack Overflow | 1 year ago | Nash
    java.io.IOException: Cannot run program "powershell.exe" (in directory "C:\jenkins\workspace\own-machine-powershell-job"): CreateProcess error=2, The system cannot find the file specified
  3. 0

    Jenkins cannot start process on Windows Slave

    Stack Overflow | 2 years ago | Alex Sorokoletov
    java.io.IOException: Cannot run program "tf" (in directory "c:\Jenkins\workspace\ProjectName-WindowsPhone"): CreateProcess error=87, The parameter is incorrect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "hg pull" fails when Jenkins is a Windows Service

    Stack Overflow | 2 years ago
    java.io.IOException: Cannot run program "hg" (in directory "D:\Hudson\workspace\MercurialTest"): CreateProcess error=87, The parameter is incorrect
  6. 0

    Plugin isn't compatible with Custom Tools

    GitHub | 2 years ago | joshuaspence
    java.io.IOException: Cannot run program "arc" (in directory "/mnt/jenkins-slave-workspace/workspace/redacted"): error=2, No such file or directory
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

    Cannot run program "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows\jdk.exe" (in directory "C:\jenkins\tools\hudson.model.JDK\JDK17AutoPerTestareInstallazioneSuWindows"): CreateProcess error=740, The requested operation requires elevation

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(Unknown Source)
    1 frame
  3. Hudson
    Launcher$RemoteLaunchCallable.call
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:816)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:382)
    5. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1149)
    6. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1114)
    6 frames
  4. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:120)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:326)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    4 frames
  5. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.FutureTask.run(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3 frames
  6. Hudson :: Remoting Layer
    Engine$1$1.run
    1. hudson.remoting.Engine$1$1.run(Engine.java:62)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame