1.Linux安装JDK步骤1. 先从网上下载jdk(jdk-1_5_0_02-linux-i586.rpm) ,推荐SUN的官方网站www.sun.com,下载后放在/home目录中,当然其它地方也行.进入安装目录#cd /home#cp jdk-1_5_0_02-linux-i586.rpm /usr/local#cd /usr/local 2.给所用户添加可执行的权限#chmod +x jdk-1_5_0_02-linux-i586.rpm.bin#./jdk-1_5_0_02-linux