[ https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162046#comment-162046 ]
chris monster commented on JENKINS-13357: ----------------------------------------- Any suggested workaround? This is a blocker for us as our builds run on multiple platforms and we can't easily fix a download location. > Autoinstall JDK from download.oracle.com no longer works > -------------------------------------------------------- > > Key: JENKINS-13357 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13357 > Project: Jenkins > Issue Type: Bug > Components: core > Affects Versions: current > Reporter: andreasmandel > Assignee: Kohsuke Kawaguchi > Priority: Critical > > Just noticed that the autoinstallation of JDK from download.oracle.com > stopped working recently. I tried various Jenkins instances running here and > they all have the same problem; versions 1.458 on Linux & Windows > The downloaded 'jdk.exe' or 'jdh.sh' just contains a html page with the note > 'Sorry! In order to download products from Oracle Technology > Network you must agree to the OTN license terms.' > The error on Windows build is then: > {code} > Installing JDK jdk-7-oth-JPR > Downloading JDK from > http://download.oracle.com/otn/java/jdk/7/jdk-7-windows-i586.exe > Downloading 5307bytes > [jdk_1.7.0] $ C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe /s /v /qn /L > \"C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe.install.log\" > REBOOT=ReallySuppress INSTALLDIR=\"C:\tools\jenkins\tools\jdk_1.7.0\" > The image file %1 is valid, but is for a machine type other than the current > machine > FATAL: Befehlsausführung fehlgeschlagen > java.io.IOException: Cannot run program > "C:\tools\jenkins\tools\jdk_1.7.0\jdk.exe" (in directory > "C:\tools\jenkins\tools\jdk_1.7.0"): CreateProcess error=216, This version of > %1 is not compatible with the version of Windows you're running. Check your > computer's system information to see whether you need a x86 (32-bit) or x64 > (64-bit) version of the program, and then contact the software publisher > ... > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira