[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

2012-05-16 Thread chantiv...@yahoo.fr (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162822#comment-162822
 ] 

chanti vlad commented on JENKINS-13357:
---

JENKINS-13435 fix in 1.464 did not help with this issue.

 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




[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

2012-05-16 Thread chantiv...@yahoo.fr (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chanti vlad reopened JENKINS-13357:
---


JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when 
trying to launch a slave as a service on windows 2008 x64.

{{{
Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L 
\C:\tmp2\jenkins_slave\service\jdk.exe.install.log\ REBOOT=ReallySuppress 
INSTALLDIR=\C:\tmp2\jenkins_slave\service\jdk\
This version of C:\tmp2\jenkins_slave\service\jdk.exe 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.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
at jcifs.smb.SmbSession.send(SmbSession.java:244)
at jcifs.smb.SmbTree.send(SmbTree.java:119)
at jcifs.smb.SmbFile.send(SmbFile.java:770)
at jcifs.smb.SmbFile.open0(SmbFile.java:982)
at jcifs.smb.SmbFile.open(SmbFile.java:999)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:74)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:66)
at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
at 
hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
at 
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *
}}}

 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




[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

2012-05-16 Thread chantiv...@yahoo.fr (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162824#comment-162824
 ] 

chanti vlad edited comment on JENKINS-13357 at 5/16/12 8:42 AM:


JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when 
trying to launch a slave as a service on windows 2008 x64.


{{

Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L 
\C:\tmp2\jenkins_slave\service\jdk.exe.install.log\ REBOOT=ReallySuppress 
INSTALLDIR=\C:\tmp2\jenkins_slave\service\jdk\
This version of C:\tmp2\jenkins_slave\service\jdk.exe 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.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
at jcifs.smb.SmbSession.send(SmbSession.java:244)
at jcifs.smb.SmbTree.send(SmbTree.java:119)
at jcifs.smb.SmbFile.send(SmbFile.java:770)
at jcifs.smb.SmbFile.open0(SmbFile.java:982)
at jcifs.smb.SmbFile.open(SmbFile.java:999)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:74)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:66)
at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
at 
hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
at 
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *

}}

  was (Author: chantivlad):
JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when 
trying to launch a slave as a service on windows 2008 x64.

{{{
Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L 
\C:\tmp2\jenkins_slave\service\jdk.exe.install.log\ REBOOT=ReallySuppress 
INSTALLDIR=\C:\tmp2\jenkins_slave\service\jdk\
This version of C:\tmp2\jenkins_slave\service\jdk.exe 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.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
at jcifs.smb.SmbSession.send(SmbSession.java:244)
at jcifs.smb.SmbTree.send(SmbTree.java:119)
at jcifs.smb.SmbFile.send(SmbFile.java:770)
at jcifs.smb.SmbFile.open0(SmbFile.java:982)
at jcifs.smb.SmbFile.open(SmbFile.java:999)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:74)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:66)
at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
at 
hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
at 
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

2012-05-16 Thread chantiv...@yahoo.fr (JIRA)

[ 
https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=162824#comment-162824
 ] 

chanti vlad edited comment on JENKINS-13357 at 5/16/12 8:49 AM:


JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when 
trying to launch a slave as a service on windows 2008 x64.


{{Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L 
\C:\tmp2\jenkins_slave\service\jdk.exe.install.log\ REBOOT=ReallySuppress 
INSTALLDIR=\C:\tmp2\jenkins_slave\service\jdk\
This version of C:\tmp2\jenkins_slave\service\jdk.exe 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.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
at jcifs.smb.SmbSession.send(SmbSession.java:244)
at jcifs.smb.SmbTree.send(SmbTree.java:119)
at jcifs.smb.SmbFile.send(SmbFile.java:770)
at jcifs.smb.SmbFile.open0(SmbFile.java:982)
at jcifs.smb.SmbFile.open(SmbFile.java:999)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:74)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:66)
at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
at 
hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
at 
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Copying jenkins-slave.xml
Copying slave.jar
Starting the service
* NOT DOING ANYTHING AFTER THAT *}}

  was (Author: chantivlad):
JENKINS-13435 is marked as a duplicate and is supposed to be fixed in 1.464.
I updated my Jenkins installation to 1.464 but JENKINS-13357 still occurs when 
trying to launch a slave as a service on windows 2008 x64.


{{

Connecting to my.host.name
Checking if Java exists
'java' is not recognized as an internal or external command,
operable program or batch file.
No Java found. Downloading JDK
Installing JDK
Installing C:\tmp2\jenkins_slave\service\jdk.exe
[jdk] $ C:\tmp2\jenkins_slave\service\jdk.exe /s /v /qn /L 
\C:\tmp2\jenkins_slave\service\jdk.exe.install.log\ REBOOT=ReallySuppress 
INSTALLDIR=\C:\tmp2\jenkins_slave\service\jdk\
This version of C:\tmp2\jenkins_slave\service\jdk.exe 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.
Failed to install JDK. Exit code=1
ERROR: Failed to prepare Java
jcifs.smb.SmbException: The system cannot find the file specified.
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:545)
at jcifs.smb.SmbTransport.send(SmbTransport.java:646)
at jcifs.smb.SmbSession.send(SmbSession.java:244)
at jcifs.smb.SmbTree.send(SmbTree.java:119)
at jcifs.smb.SmbFile.send(SmbFile.java:770)
at jcifs.smb.SmbFile.open0(SmbFile.java:982)
at jcifs.smb.SmbFile.open(SmbFile.java:999)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:74)
at jcifs.smb.SmbFileInputStream.init(SmbFileInputStream.java:66)
at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2833)
at 
hudson.os.windows.WindowsRemoteFileSystem.read(WindowsRemoteFileSystem.java:41)
at hudson.tools.JDKInstaller.install(JDKInstaller.java:242)
at 
hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:251)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at 

[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

2012-05-04 Thread s.sog...@gmail.com (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

sogabe resolved JENKINS-13357.
--

Resolution: Duplicate

 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




[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

2012-04-05 Thread andreasman...@java.net (JIRA)
andreasmandel created JENKINS-13357:
---

 Summary: 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: Blocker


Just noticed that the autoinstallation of JDK from java.sun.com stopped working 
recently. I tried various Jenkins instances running here and they all have the 
same problem; versions from 1.415 to 1.423 on Linux.
 

--
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




[JIRA] (JENKINS-13357) Autoinstall JDK from download.oracle.com no longer works

2012-04-05 Thread andreasman...@java.net (JIRA)

 [ 
https://issues.jenkins-ci.org/browse/JENKINS-13357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

andreasmandel updated JENKINS-13357:


   Priority: Critical  (was: Blocker)
Description: 
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}

  was:
Just noticed that the autoinstallation of JDK from java.sun.com stopped working 
recently. I tried various Jenkins instances running here and they all have the 
same problem; versions from 1.415 to 1.423 on Linux.
 


 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