Return to Snippet

Revision: 37418
at December 9, 2010 21:07 by ashsa


Initial Code
tail -n +417 $0 > $outname 
#if [ -x /usr/bin/sum ] ; then 
# echo "Checksumming..." 
# 
# sum=`/usr/bin/sum $outname` 
# index=1 
# for s in $sum 
# do 
# case $index in 
# 1) sum1=$s; 
# index=2; 
# ;; 
# 2) sum2=$s; 
# index=3; 
# ;; 
# esac 
# done 
# if expr $sum1 != 13852 || expr $sum2 != 13822 ; then 
# echo "The download file appears to be corrupted. Please refer" 
# echo "to the Troubleshooting section of the Installation" 
# echo "Instructions on the download page for more information." 
# echo "Please do not attempt to install this archive file." 
# exit 1 
# fi 
#else 
# echo "Can't find /usr/bin/sum to do checksum. Continuing anyway." 
#fi

Initial URL
http://johanlouwers.blogspot.com/2008/09/install-java-j2re-14204-on-ubuntu.html

Initial Description
Installation .bin file must be modified:
There's old commands than must be commented/deleted.
The 'tail' command is changed (check the starting line for the binary data).

Thanks Johan Louwers!

Initial Title
Installing old java 1.4.2 on ubuntu

Initial Tags
java

Initial Language
Bash