摘要:
一、下载http://www.oracle.com/technetwork/java/javase/downloads/index.html下载二进制版本jdk-xxx-linux-x64.bin,如果是Redhat系,可以下载rpm.bin版二、处理sudo mkdir /usr/lib/jvm/javasudo mv cp jdk-6u31-linux-x64.bin /usr/lib/jvm/javasudo chmod +x jdk-6u31-linux-x64.binsudo ./jdk-6u31-linux-x64.bin按enterln -s jdk1.6.0_31 jdk1.6 阅读全文