jdk-7u67-linux-i586_tar_gz
1.安装JDK 32位 tar xf jdk-7u67-linux-i586_tar_gz.gz -C /usr/local/ ln -s /usr/local/jdk1.7.0_67/ /usr/local/jdk ll /usr/local/ 2.修改环境变量 cat /etc/profile.d/java.sh export JAVA_HOME=/usr/local/jdk export PATH=$PATH:$JAVA_HOME/bin 3.测试一下 . /etc/profile.d/java.sh java -version java version "1.7.0_67"
用户评论