-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Windows 7 (x64 with)
Running on java 1.6.0_18 (32bit)
master only
hudson 1.389
Auto install of JDK 1.6.0 Update 21 fails on Windows 7.
The download completes but is saved without a .exe extension then Hudson appears to try to install it using the eventual path not the downloaded path.
Started by user anonymous Updating https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/m2release/test At revision 37425 no change for https://svn.java.net/svn/hudson~svn/trunk/hudson/plugins/m2release/test since the previous build Choosing the download bundle Downloading file:/C:/work/hudson_test_install/Home/cache/jdks/WINDOWS/i386/jdk-6u21-oth-JPR@CDS-CDS_Developer Installing C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\jdk.exe [jdk1.6.0_21] $ C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\jdk.exe /s '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\" /L \"C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\jdk.exe.install.log\"' Parsing POMs [workspace] $ C:\work\hudson_test_install\Home\tools\jdk1.6.0_21/bin/java -cp C:\work\hudson_test_install\Home\plugins\maven-plugin\WEB-INF\lib\maven-agent-1.389.jar;C:\work\hudson_test_install\Home\tools\maven_2.2.1\boot\classworlds-1.1.jar hudson.maven.agent.Main C:\work\hudson_test_install\Home\tools\maven_2.2.1 C:\work\hudson_test_install\Home\war\WEB-INF\lib\remoting-1.389.jar C:\work\hudson_test_install\Home\plugins\maven-plugin\WEB-INF\lib\maven-interceptor-1.389.jar 50538 C:\work\hudson_test_install\Home\plugins\maven-plugin\WEB-INF\lib\maven2.1-interceptor-1.2.jar ERROR: Failed to parse POMs java.io.IOException: Cannot run program "C:\work\hudson_test_install\Home\tools\jdk1.6.0_21/bin/java" (in directory "C:\work\hudson_test_install\Home\jobs\test\workspace"): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:216) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:502) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1337) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:349) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 12 more Finished: FAILURE
It appears it tries to exectute the following command to install the JDK
C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\jdk.exe /s '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\" /L \"C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\jdk.exe.install.log\"'
but C:\work\hudson_test_install\Home\tools\jdk1.6.0_21\jdk.exe is not the installer that it downloaded but where it should be installed to?