Back to Blog
Dxwnd createprocess error 7407/10/2023 Java.io.IOException: Cannot run program "C:\Jenkins\tools\\Java_SE_Development_Kit_8u60\jdk.exe" (in directory "C:\Jenkins\tools\\Java_SE_Development_Kit_8u60"): CreateProcess error=740, The requested operation requires elevationĪt (Unknown Source)Īt hudson.Launcher$LocalLauncher.launch(Launcher.java:816)Īt hudson.Launcher$ProcStarter.start(Launcher.java:382)Īt hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1149)Īt hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1114)Īt (UserRequest.java:121)Īt (UserRequest.java:49)Īt $2.run(Request.java:326)Īt $1.call(InterceptingExecutorService.java:68)Īt .run(Unknown Source)Īt .runWorker(Unknown Source)Īt $n(Unknown Source)Īt $1$1.run(Engine.java:69)Īt. $ C:\Jenkins\tools\\Java_SE_Development_Kit_8u60\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=C:\Jenkins\tools\\Java_SE_Development_Kit_8u60 /L C:\Jenkins\tools\\install4140010637459422013log Here's the full stack trace: Installing C:\Jenkins\tools\\Java_SE_Development_Kit_8u60\jdk.exe When I try to run the jdk locally in cmd.exe, it does run without errors. I tried setting C:\Jenkins\tools\\Java_SE_Development_Kit_8u60\jdk to always run as administrator for all users. Since it says CreateProcess error=740, The requested operation requires elevation I tried running the slave being logged in as administrator and completely disabling UAC in Windows with no succes.Īny clues on getting this to work? I'm running Windows 8. I'm trying to run some basic batch command from a Jenkins job on a Windows slave, but it seems that Jenkins can not install jdk.
0 Comments
Read More
Leave a Reply. |