mac .bash_profile环境变量汇总

export CATALINA_HOME=/Applications/MyApplications/apache-tomcat-7.0.54
export PATH=$PATH:$CATALINA_HOME/bin

export M2_HOME=/Applications/MyApplications/apache-maven-3.2.2
export MAVEN_OPTS="-Xms256m -Xmx512m"
export PATH=$PATH:$M2_HOME/bin

export PATH=/Applications/MyApplications/resin-4.0.40/bin:$PATH

export JAVA_6_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
export JAVA_7_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
export JAVA_8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
export JAVA_HOME=$JAVA_7_HOME

alias jdk8='export JAVA_HOME=$JAVA_8_HOME'
alias jdk7='export JAVA_HOME=$JAVA_7_HOME'
alias jdk6='export JAVA_HOME=$JAVA_6_HOME'

export PATH=$PATH:/usr/local/mysql/bin

你可能感兴趣的:(profile)