JDK 1.4 installation problems on 64 bit GNU/Linux
I'm trying to install JDK 1.4 (j2sdk-1_4_2_10-linux-ia64-rpm.bin) on a 64 bit GNU/Linux. When I get past the License agreement, I get the following error:
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. Note: I have already successfully installed JDK 1.6 in the same path and I do not have access to the root. Any ideas? Thanks |
Welcome to LQ.
j2sdk-1_4_2_10-linux-ia64-rpm.bin : A corrupt old package ? Old versions : http://www.oracle.com/technetwork/ja...ve-139210.html > http://www.oracle.com/technetwork/ja...14-419411.html > http://www.oracle.com/technetwork/ja...4.2_10-oth-JPR > j2sdk-1_4_2_10-linux-ia64-rpm.bin Or use an updated version like : j2sdk-1_4_2_19-linux-ia64-rpm.bin . |
Thanks Knudfl, but when I tried to install the j2sdk-1_4_2_19-linux-ia64-rpm.bin, I got the following error after license acceptance:
Do you agree to the above license terms? [yes or no] yes Unpacking... Checksumming... 0 0 Extracting... ./j2sdk-1_4_2_19-linux-ia64-rpm.bin: line 442: ./install.sfx.29101: cannot execute binary file Done. Thanks |
Which Linux OS are you using ? ? Name and version, please.
Which shell are you using ? Bash ? Sometimes a file suffix .bin will work better with the command 'sh <name>.bin', like : sh j2sdk-1_4_2_19-linux-ia64-rpm.bin I can check the package next week, and may be come up with a solution. . |
The uname gave this
Linux 2.6.18-238.19.1.el5 #1 SMP Sun Jul 10 08:43:41 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux I'm using Bash. I tried the sh j2sdk-1_4_2_19-linux-ia64-rpm.bin and the same thing happened. Note: I also tried installing the j2sdk-1_4_2_19-linux-ia64.bin and the same thing happened. Thanks, Priya |
OK, one more thing : Which software is it, that requires the old java 1.4 ?
(Most often you will be able to use java 1.5 ( or 1.6 ) with all old software.) And : At the time when java 1.4 was used, all applications were 32bits, not 64 ? All available java 1.4 rpm packages, I can find from that time, are 32bits. > http://rpm.pbone.net > Search >> Advanced Search : Check all >>> keyword = j2sdk-1.4 Example : j2sdk-1.4.2_12-fcs.i586.rpm ftp://ftp.icm.edu.pl/vol/rzm2/linux-...2-fcs.i586.rpm . |
I was not able to install that version. It gave:
-bash-3.2$ ./j2sdk-1.4.2_12-fcs.i586.rpm -bash: ./j2sdk-1.4.2_12-fcs.i586.rpm: cannot execute binary file It did not work with the sh command as well. Same error. I'm actually trying to install JReports 7.3 which needs jdk 1.4.2. Thank you again. |
Well, when you have no root access, an rpm package cannot be installed.
( j2sdk-1.4.2_12-fcs.i586.rpm ). 32bits : May be try with a j2sdk-1_4_2_19-linux-i586.bin http://www.oracle.com/technetwork/ja...4.2_30-sol-JPR . |
I tried both sh and ./ ways to execute the j2sdk-1_4_2_19-linux-i586.bin file and I got the following error this time around:
Do you agree to the above license terms? [yes or no] yes Unpacking... Checksumming... 0 0 Extracting... UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu). unzipsfx: cannot find myself! [./install.sfx.26005] Done. |
OK, another suggestion.
Unpack j2sdk-1.4.2_12-fcs.i586.rpm in your /home/<name>/, like : mkdir java4 && cd java4/ && rpm2cpio j2sdk-1.4.2_12-fcs.i586.rpm | cpio -idmv .. Will provide : java4/usr/java/j2sdk1.4.2_12/jre/bin/java , java4/usr/java/j2sdk1.4.2_12/jre/lib/i386 , etc. etc. . |
All times are GMT -5. The time now is 07:00 AM. |