一句话mac操作
在mac里添加环境变量,可以更改系统的/etc/profile,或者更改用户的.bash-profile.推荐后者。
在Terminal下执行echo命令:(以添加Derby_home为例来添加derby的环境变量,其中xxx为路径)
echo ‘export DERBY_HOME=xxx$DERBY_HOME’ >> ~/.bash_profile
或者直接用vi更改也可以
在mac里添加环境变量,可以更改系统的/etc/profile,或者更改用户的.bash-profile.推荐后者。
在Terminal下执行echo命令:(以添加Derby_home为例来添加derby的环境变量,其中xxx为路径)
echo ‘export DERBY_HOME=xxx$DERBY_HOME’ >> ~/.bash_profile
或者直接用vi更改也可以
You are currently browsing the archives for the MAC category.