1、JDK配置____________________________________________________________ vi /etc/profile export JAVA_HOME=/opt/java/jdk1.7.0_11 export JAVA_JRE=/opt/java/jdk1.7.0_11/jre export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_JRE/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH source /etc/profile ~/.bashrc是当前用户的工作目录 当前用户是root,则为/root/.bashrc 当前用户是river,则为/home/river/.bashrc /etc/profile 是所有用户的环境变量 /etc/enviroment是系统的环境变量 登陆系统时shell读取的顺序应该是 /etc/profile ->/etc/environment -->$HOME/.profile -->$HOME/.env /etc/environment中的PATH不能引用$JAVA_HOME,因为变量还没有初始化 2、elclipse配置____________________________________________________________ 3、svn配置____________________________________________________________ 4、maven配置____________________________________________________________