摘要: 1. 获取和安装jdk1.6cd ~/downloadswget -c http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64.binsudo cp jdk-6u32-linux-x64.bin /usr/local/bin/chmod u+x jdk-6u32-linux-x64.binsudo -s ./jdk-6u32-linux-x64.bin2. 修改环境变量vi ~/.bashrc在末尾添加export JAVA_HOME=/usr/local/bin/jdk1.6.0_32export JRE 阅读全文
posted @ 2012-05-29 21:58 傲雪啸风 阅读(760) 评论(0) 推荐(0) 编辑