Linux下配置java环境变量以及Eclipse配置

1. 去java.sun.com/j2se/1.4.2/download.html">http://java.sun.com/j2se/1.4.2/download.html 下载一个Linux Platform的JDK,

建议下载RPM自解压格式的(RPM in self-extracting file,j2sdk-1_4_2_06-linux-i586-rpm.bin);


2. 上载到Linux服务器上,在shell下执行命令:


[root@LinuxServer rpm]# chmod 755 j2sdk-1_4_2_11-linux-i586-rpm.bin

[root@LinuxServer rpm]# ./j2sdk-1_4_2_11-linux-i586-rpm.bin

这时会有一段Sun的协议,敲几次空格键,当询问是否同意的时候,敲yes就可以了。

Sun Microsystems, Inc.

Binary Code License Agreement

for the

JAVATM 2 SOFTWARE DEVELOPMENT KIT (J2SDK), STANDARD

EDITION, VERSION 1.4.2_X

...

Do you agree to the above license terms? [yes or no]yes

Unpacking...

Checksumming...

0

0

Extracting...

UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值