【发布时间】:2015-05-13 11:31:42
【问题描述】:
我在.profile中设置了home路径
export FORGE_HOME=/Users/sreesaran/forge-distribution-1.3.2.Final
export PATH=$PATH:$ANT_HOME/bin:$VISAGE_HOME/bin:$JAVA_HOME/bin:$GRADLE_HOME/bin:$FORGE_HOME/bin
这就是我保存在 .profile 和 forge-distribution-1.3.2 中的方式。 Final 是 bin 所在的位置,每当我在终端中输入 forge 时,我都会得到:
-bash: forge: command not found
我还将主路径设置为:/etc/launchd.conf
可以给我一些启发,请解释一下在 mac 中设置主路径
Setting environment variables in OS X?
关注这个帖子就够了。
【问题讨论】:
标签: macos jboss jboss-forge