sudo gedit /etc/profile
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22
export JAVA_HOME
MAVEN_HOME=/home/duyang/soft/apache-maven-3.0
export MAVEN_HOME
PATH=$MAVEN_HOME/bin:$PATH
export PATH
时间: 2024-10-27 11:45:50
sudo gedit /etc/profile
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.22
export JAVA_HOME
MAVEN_HOME=/home/duyang/soft/apache-maven-3.0
export MAVEN_HOME
PATH=$MAVEN_HOME/bin:$PATH
export PATH