This question already has an answer here:
I need Java 1.4.2 on a up-to-date Amazon Linux 2015.09 server. I've tried to install
j2sdk-1_4_2_19-linux-ia64-rpm.bin. When I execute this file, I get an error message:
line 442: ./install.sfx.12314: cannot execute binary file
Maybe I'm doing this the wrong way. I downloaded the binary from Oracle, where I see that the most recent Linux (non Solaris) version is Java SE Development Kit 1.4.2_19:
- Java SE Development Kit 1.4.2_19 31.69 MB j2sdk-1_4_2_19-linux-ia64-rpm.bin
- Java SE Development Kit 1.4.2_19 32.64 MB j2sdk-1_4_2_19-linux-ia64.bin
Uname -a shows this:
Linux 4.1.17-22.30.amzn1.x86_64 #1 SMP Fri Feb 5 23:44:22 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
I've tried both bin files, and both report the same error.
How can I install Java 1.4.2 on this machine?