-
Bug
-
Resolution: Fixed
-
Critical
-
None
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:
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 ...
- duplicates
-
JENKINS-13435 Auto Install jdk from oracle downloads html instead of bin
- Resolved