4 Replies Latest reply: Dec 26, 2007 3:13 PM by 843804 RSS

    Install java 1.4.2.11 sdk on Fedora 5

    843804
      Hi,

      I try to download java 1.4.2.11 sdk on fedora 5, from here:
      http://java.sun.com/j2se/1.4.2/download.html
      But it always fails, I have tried download the file 3 files from 2 different networks, but I still have the same error. I appreciate if you can help.

      Thank you.

      Here is the log:
      Do you agree to the above license terms? [yes or no]
      yes
      Unpacking...
      tail: cannot open `+511' for reading: No such file or directory
      Checksumming...
      1
      The download file appears to be corrupted. Please refer
      to the Troubleshooting section of the Installation
      Instructions on the download page for more information.
      Please do not attempt to install this archive file.
        • 1. Re: Install java 1.4.2.11 sdk on Fedora 5
          843804
          I think this might be a problem with some library shipped with fc5- I've run into the same error while trying to install the 1.4.2_11 sdk. I'll post again if I figure out how to get it working.
          • 2. Re: Install java 1.4.2.11 sdk on Fedora 5
            843804
            tail: cannot open `+511' for reading: No such file or directory
            That's suggestive. Perhaps FC5 has (again) been playing around with options to the "tail" command? There have been upheavals in the past as they have tried to enforce strict POSIX rules (i.e. no naked +5 or -5, but only -n +5 or -n -5), and then backed away, etc.

            Try just something like

            tail +1 /etc/hosts

            and see if it gives you an error. If it does, then you can either

            (a) complain to sun (file a bug report)
            and/or
            (b) read the "man" page for tail, and see if there's some environment variable or something you can set to get the "other" behavior (allowing "tail +5").
            • 3. Re: Install java 1.4.2.11 sdk on Fedora 5
              843804
              The same problem is solved in another thread.

              http://forum.java.sun.com/thread.jspa?threadID=712526&tstart=0
              • 4. Re: Install java 1.4.2.11 sdk on Fedora 5
                843804
                No --> . j2sdk-1_4_2_16-linux-i586.bin
                Yes --> sh j2sdk-1_4_2_16-linux-i586.bin


                I figured out how to fix it. I was trying to install j2sdk-1_4_2_16-linux-i586.bin like this

                . j2sdk-1_4_2_16-linux-i586.bin

                I got the error:

                Do you agree to the above license terms? [yes or no]
                yes
                Unpacking...
                tail: cannot open `bash' for reading: No such file or directory
                Checksumming...
                1
                The download file appears to be corrupted. Please refer
                to the Troubleshooting section of the Installation
                Instructions on the download page for more information.
                Please do not attempt to install this archive file.

                So try installing it like this:

                sh j2sdk-1_4_2_16-linux-i586.bin

                It started unpacking and looked like it worked.