[
https://issues.jenkins-ci.org/browse/JENKINS-13435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162804#comment-162804
]
Andreyev Melo commented on JENKINS-13435:
-----------------------------------------
Great! Using version 1.464 in a clean install it works! Thanks a lot!
> Auto Install jdk from oracle downloads html instead of bin
> ----------------------------------------------------------
>
> Key: JENKINS-13435
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13435
> Project: Jenkins
> Issue Type: Bug
> Components: core
> Reporter: Jenni Syed
>
> On version 1.455 (saw on 1.459 as well), choosing to auto-install the jdk
> from oracle results in an html page being downloaded and the message below.
> When I look at the jdk.sh, it's the html page from oracle complaining about
> not accepting the license terms. Also see:
> https://groups.google.com/group/jenkinsci-users/browse_thread/thread/1d510fae9816f086
> {quote}
> Installing JDK jdk-1.5.0_22-oth-JPR
> Downloading JDK from
> http://download.oracle.com/otn/java/jdk/1.5.0_22/jdk-1_5_0_22-linux-amd64.bin
> Downloading 5307bytes
> Installing /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh
> [jdk1.5_22] $ /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh -noregister
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 1: html: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 2: head: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 3: title: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 4: META: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 5: link: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 6: link: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 7:
> : command not found
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 8: body: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 9: div: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 10: table: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 11: tr: No such file or
> directory
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 12: syntax error near
> unexpected token `<'
> /home/exodus/jenkins/tools/jdk1.5_22/jdk.sh: line 12: ` <td rowspan="2"
> valign="middle" nowrap><a href="http://www.oracle.com"><img
> src="/errors/us/assets/oralogo-small.gif" width="154" height="19" hspace="10"
> vspace="25" border="0" ></a></td>
> '
> [EnvInject] - [ERROR] - SEVERE ERROR occurs: hudson.AbortException: Failed to
> install JDK. Exit code=2
> Finished: FAILURE
> {quote}
--
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