1、java配置 配置环境变量在/etc/profile下增加
# set Java environment JAVA_HOME=/usr/share/jdk1.6.0_43 PATH=$JAVA_HOME/bin:$PATH CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export JAVA_HOME export PATH export CLASSPATH