How to set environment variable permanently in MAC osX

$cd ~
$open -a .bash_profile

This will open a text editor
there you can edit your environment variable

Ex: export JAVA_HOME=/etc/java/java_path

Save the file

$source .bash_profile

Popular posts from this blog

[Solved] Hive installation error: Relative path in absolute URI

Install Android SDK in centOs

Installing arules package (Association Rules) in R