Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13435

Auto Install jdk from oracle downloads html instead of bin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      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

      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

            Unassigned Unassigned
            daliboz Jenni Syed
            Votes:
            10 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: