> Whenever we try to install the 32-bit JVM (i.e. the file
> j2sdk-1_4_2_03-linux-i586.bin), it exits with an error:
[quoted text clipped - 3 lines]
> tail: `-1' option is obsolete; use `-n 1'
> Try `tail --help' for more information.
The file is a script. Open it in any editor and change the tail
command (there might be several). Alternatively, run tail yourself to
extract the zip file containing the sdk.
Something like this:
tail -n +424 ./j2re-1_4_2_03-linux-i586.bin > foo.zip
unzip foo.zip
Check the contents of the script to see what number (e.g. 424) to use.
/gordon

Signature
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
Juergen Kreileder - 11 Feb 2004 22:47 GMT
>> Whenever we try to install the 32-bit JVM (i.e. the file
>> j2sdk-1_4_2_03-linux-i586.bin), it exits with an error:
[quoted text clipped - 15 lines]
> Check the contents of the script to see what number (e.g. 424) to
> use.
It's probably easier to just set "_POSIX2_VERSION=199209". Ie. use
'_POSIX2_VERSION=199209 ./j2sdk-1_4_2_03-linux-i586.bin' on the command
line. Setting this variable to 199209 makes tail and friends accept
the obsolete options. (The problem is fixed in forthcoming Blackdown
and Sun releases.)
Just using 'tail ... > foo.zip ; unzip foo.zip' won't work because the
the jar files are packed in recent releases. If you're using this
solution, you'll have to unpack them manually after unzipping the file
with ./j2sdk1.4.2_03/lib/unpack.
Juergen

Signature
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/