标签:http io ar java sp div on cti bs
1.下载:
wget http:
//uni-smr
.ac.ru
/archive/dev/java/bulk/jdk-7u21-linux-i586
.rpm
rpm -ivh jdk-7u21-linux-i586.rpm
profile
:sudo
vi
/etc/profile
//
最后面加入
export
JAVA_HOME=
/usr/java/jdk1
.7.0_21
export
CLASSPATH=.:$JAVA_HOME
/jre/lib/rt
.jar:$JAVA_HOME
/lib/dt
.jar:$JAVA_HOME
/lib/tools
.jar
export
PATH=$PATH:$JAVA_HOME
/bin
#source /etc/profile
# java -version
标签:http io ar java sp div on cti bs
原文地址:http://www.cnblogs.com/jianglongwei/p/4079666.html