Jay,

After sending my first reply, I just happened to think...

During the last year, the ELF "magic" was changed to a standard value,
rather than the arbitrary one that was initially used.  It is entirely
possible (if not extremely likely) that the binaries for the JKD1.4 have
x'16' in that field, which means your system won't recognize them as being
for the same/correct architecture.  The way to find out is pick a binary
executable, say "foo" and do this:
od -x -N 20 foo

If the output ends in "0016" that is your problem.  If it ends in "a390"
then that is not your problem.  Here's two samples from one of my systems so
you can see what I mean:
This binary has the "old" ELF magic of a390.
# od -x -N 20 /usr/bin/expect
0000000 7f45 4c46 0102 0100 0000 0000 0000 0000
0000020 0002 a390
0000024

This binary has the "new" ELF magic of 22/x'16'
# od -x -N 20 /sbin/init
0000000 7f45 4c46 0102 0100 0000 0000 0000 0000
0000020 0002 0016
0000024


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED]]On Behalf Of
Paulsen, Jay
Sent: Thursday, December 12, 2002 11:00 AM
To: [EMAIL PROTECTED]
Subject: IBM JDK 1.4 on Linux/390


Hello,

I've downloaded and installed this JDK from
http://www-106.ibm.com/developerworks/java/jdk/linux140/?dwzone=java but I
get the error message "cannot execute binary file" when trying to run the
java interpreter.

I have successfully run JDK 1.3.0, and wanted to upgrade, but so far I can't
figure out how to get this running.  Has anyone been able to run JDK 1.4 on
Linux/390?  Any help is greatly appreciated.

fyi - we're running SuSE 7.0 - Kernel 2.2.16 on a S/390 9672-X37 (G6)


-Jay


Jay Paulsen
Health Care Information Systems
The University of Iowa
[EMAIL PROTECTED]

Reply via email to