[ 
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


Reply via email to