Mark,

Thanks for the information.  I followed your instructions and indeed, the
executables on our 2.2 system have "a390" in the header while the IBM 1.4
JDK executables have "0016".

I then installed the JDK on a 2.4 system we also have running, and the
executables successfully ran.

I guess I'll be upgrading all of our images to 2.4.

Thanks again,
-Jay

> -----Original Message-----
> From: Mark Post [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 12, 2002 8:53 PM
> To: 'Linux on 390 Port'; 'Paulsen, Jay'
> Subject: RE: IBM JDK 1.4 on Linux/390
>
>
> 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/?dwzon
e=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