在ubuntu上安装旧的Java1.4.2

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在ubuntu上安装旧的Java1.4.2相关的知识,希望对你有一定的参考价值。

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!
  1. tail -n +417 $0 > $outname
  2. #if [ -x /usr/bin/sum ] ; then
  3. # echo "Checksumming..."
  4. #
  5. # sum=`/usr/bin/sum $outname`
  6. # index=1
  7. # for s in $sum
  8. # do
  9. # case $index in
  10. # 1) sum1=$s;
  11. # index=2;
  12. # ;;
  13. # 2) sum2=$s;
  14. # index=3;
  15. # ;;
  16. # esac
  17. # done
  18. # if expr $sum1 != 13852 || expr $sum2 != 13822 ; then
  19. # echo "The download file appears to be corrupted. Please refer"
  20. # echo "to the Troubleshooting section of the Installation"
  21. # echo "Instructions on the download page for more information."
  22. # echo "Please do not attempt to install this archive file."
  23. # exit 1
  24. # fi
  25. #else
  26. # echo "Can't find /usr/bin/sum to do checksum. Continuing anyway."
  27. #fi

以上是关于在ubuntu上安装旧的Java1.4.2的主要内容,如果未能解决你的问题,请参考以下文章

如何在 Ubuntu 16.04 上的 XAMPP 中安装较旧的 PHP 版本?

markdown 在Intel Nuc上设置Ubuntu Web服务器,步骤和代码片段

续:纠正:ubuntu7.04可以安装,而且完美的安装 ! for《Oracle-10.2.0.1,打补丁10.2.0.5:在 debian 版本4不含4以上,及 ubuntu 7.04不含(代码片段

在 Ubuntu 16.04 上安装 Cilk 时出现问题

如何在PHPStorm中设置PHP版本?

将旧 Laravel 项目安装到最新服务器 [关闭]