>>>>> Jim Caley writes:
Jim> According to the message below (I grabbed it from the
Jim> Java-Linux archives), to get J2EE installed I should download
Jim> the port for Solaris. However, when I try to install the
Jim> downloaded file (j2sdkee1_2-solsparc.sh) I can not get it to
Jim> install on to my RedHat 6.1 system.
Jim> This script when executed drops off a binary file named
Jim> "install.sfx.<current_pid>". On my Linux box this file fails
Jim> the checksum, while on an HP-UX box it passes.
See sum(1): Linux uses 1K blocks by default while Solaris and HP-UX
use 512 byte blocks. If you change 'sum' to 'sum -s' it will pass on
Linux.
Jim> However, on both machines it fails to execute. (And yes,
Jim> permissions are set to 755.) Here's the error message on
Jim> Linux:
Jim> bash: ./install.sfx.18321: cannot execute binary file
Jim> Running "file" on it shows this:
Jim> ./install.sfx.18321: ELF 32-bit MSB executable, SPARC,
Jim> version 1, dynamically linked (uses shared libs),
Jim> stripped
That's a self-extracting ZIP archive. The code to unzip the archive
is platform specific but you should be able to extract it with the
regular 'unzip', just ignore the warning about extra bytes at the
beginning of the file.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]