Installing j2sdk-1.4.2

Tushar Teredesai tushar at
Tue Jul 15 23:29:21 PDT 2003

Matthew Burgess wrote:

>Hello again all.  I just thought I'd let you all know that j2sdk-1.4.2
>(binary I know) works like a charm once the commands in the book are
>altered slightly.
>Here's the current script I've used with success with some comments
>embedded just in case anyone else feels like installing it at some
I found an easier way to do it, hopefully something that won't need to 
be changed for future releases.

    MV=`echo $VERSION | cut -d "_" -f 1,1`
    V=`echo $VERSION | sed -e "s/\./_/g"`
    sed -i "s:^PATH=.*::" $P-$V-linux-i?86.bin
    chmod +x $P-$V-linux-i?86.bin
    mkdir bin
    ln -sf `which true` bin/more
    export PATH=$PWD/bin:$PATH
    yes | ./$P-$
    export PATH=$PATH_SAVE
    rm -rf /opt/j2sdk/j2sdk-precompiled-$MV
    mv ${P}${VERSION} /opt/j2sdk/j2sdk-precompiled-$MV

Tushar Teredesai

Unsubscribe: send email to listar at
and put 'unsubscribe blfs-support' in the subject header of the message

More information about the blfs-support mailing list