Re: Running Sun 1.4.2 in 32-bit mode on the Opteron (Linux)

From: Gordon Beaton (not_at_for.email)
Date: 02/11/04


Date: 11 Feb 2004 17:24:28 +0100

On 11 Feb 2004 08:05:38 -0800, Philippe wrote:
> 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:
>
> --------------------------------------
>
> 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

-- 
[  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


Relevant Pages

  • SUMMARY: viewing files
    ... I used trhe following script, put it in a file and executed the file. ... echo "$i">> newfile ... > issue the same command 50 times, I just want to give it one ... > I know that tail views the last 10 lines of a file, ...
    (Tru64-UNIX-Managers)
  • Re: getting status from first element of pipeline in Bourne shell
    ... I found one detail while testing your script. ... then tail gets killed before it ever gets a chance to ... My inelegant solution is to put a "usleep 1500000" command before the ... to give tail a chance to write cmd's final output. ...
    (comp.unix.shell)
  • Re: head -100 foo | tail -20
    ... > Is there a standard Unix utility that will print a specified range ... > but I'm looking for some command, say bar, that would yield the ... Note that any solutions using sed or awk to do the job of head and tail ... evaluate a script for every line of input. ...
    (comp.unix.shell)
  • Re: ontape -l roll-forward of many logs
    ... Then write a simple awk script that reads the file /tmp/ontape.out via ... The only gotcha is under Linux you need to use --pid on the tail -f to ... ensure the tail closes when the ontape is complete. ... ontape -l roll-forward of many logs ...
    (comp.databases.informix)
  • Re: Standard output piping problem
    ... whereas the command: ... > temporary file since it will be used as continuous input to a script. ... Why do you need to use tail -f in the first place? ...
    (comp.unix.shell)