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

Samebug tips1

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web8

  • via jenkins-ci.org by Unknown author, 11 months ago
    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
  • via Jenkins JIRA by Stefan Stern, 11 months ago
    java.io.IOException: java.io.FileNotFoundException: C:\NoScan\jenkins\tools\hudson.model.JDK\1.8.0_25\jdk.exe.install.log (Das System kann die angegebene Datei nicht finden)
  • via Jenkins JIRA by Stefan Stern, 1 year ago
    java.io.IOException: java.io.FileNotFoundException: C:\NoScan\jenkins\tools\hudson.model.JDK\1.8.0_25\jdk.exe.install.log (Das System kann die angegebene Datei nicht finden)
  • Stack trace

    • 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 at org.jenkinsci.plugins.envinject.service.EnvInjectVariableGetter.getBuildVariables(EnvInjectVariableGetter.java:91) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironmentWithoutJobPropertyObject(EnvInjectListener.java:233) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:46) at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:575) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:495) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: 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(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:816) at hudson.Launcher$ProcStarter.start(Launcher.java:382) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1149) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1114) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:62) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    137 more bugmates