关于J2sdk 1.4 的Debian安装

1.修改sources.list,添加以下内容:
http://debian.cn99.com/java stable non-free
2.执行apt-get update更新资源列表
3.到sun的网站下载 J2SE 1.4.2 Documentation,然后把它放到系统/tmp文件夹,并且将所有权赋予root。
4.apt-get install j2sdk*
5.安装开始后,有些提示,不用理会全部都是yes。
6.如果你没有下载   J2SE 1.4.2 Documentation ,那么在安装过程当中可能会出现提示:
This package is an installer package, it does not actually contain the
J2SDK documentation.  You will need to go download one of the
archives:

    j2sdk-1_4_2-doc.zip j2sdk-1_4_0-doc-ja.zip j2sdk-1_4_2-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/j2se/1.4.2/download.html

now and download.  The file should be owned by root.root and be copied
to /tmp.

意思很简单,就是服务器上并没有提供 J2SE 1.4.2 Documentation ,只是提供一个安装包,没有包含该文件。
7.执行命令 Java -version看看是否有正常的的版本号输出。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值