> Hi:
> I am very new to Linux. I just installed RedHat 7.2 yesterday.
> I would like to install Sun's Java SDK -
> J2SDK-1_4_0-1-linux-1386-rpm.bin
> I tried typing in rpm -i J2SDK-1_4_0-1-linux-1386-rpm.bin in the
> terminal window - the message read manifest:failed appeared.
> What have I done incorrectly? Thanks very much!!!
> The Linux porting has been a stressful event - so far. Hope things
> will get better.
This not an rpm, but a kind of "shell archive"; for example at the top
of the non-rpm version of that file I downloaded is:
===
#!/bin/sh
PATH=/usr/bin:/bin
libthread_path=
more <<"EOF"
Sun Microsystems, Inc.
Binary Code License Agreement
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE
TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO
[snip]
(and after a bit, a compressed archive
===
If you do "sh /path/to/J2SDK-1_4_0-1-linux-1386-rpm.bin", you'll
enter a license dialog, after which (if you agree with the license)
it will give you/install for you the rpm. (I'm not sure which, since
I always install jdk's by hand, using their straight .bin archive.)
In the past the people at Sun seemed unable to correctly package one of
these, so the above may or may not work out of the box. To be fair to
the Sun people, tho, I believe the instructions as to how to install
this are shown to you at the java.sun.com download site.
HTH. Bob L.
--