码迷,mamicode.com
首页 > 其他好文 > 详细

mac .bash_profile环境变量汇总

时间:2014-09-02 22:54:25      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:style   os   io   java   ar   sp   on   c   size   

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

mac .bash_profile环境变量汇总

标签:style   os   io   java   ar   sp   on   c   size   

原文地址:http://blog.csdn.net/coslay/article/details/39013617

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!