chmod +x jdk-6u20-linux-i586.bin
./jdk-6u20-linux-i586.bin
mv .. /usr/local/lib/jdk1.6.0_20/
sudo vi /etc/profile
export JAVA_HOME=/usr/local/lib/jdk1.6.0_20/
export CLASSPATH=.:%JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
export PATH=$JAVA_HOME/bin:%JAVA_HOME/jre/bin:$HOME/bin:$PATH
source /etc/profile
#export JPROF_CONFIG_PATH=/tmp/jprof.properties
sudo apt-get install subversion
sudo apt-get install maven2
阅读(1812) | 评论(0) | 转发(0) |