How to set environment variable permanently in MAC osX

$cd ~
$open -a TextEdit.app .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: java.net.URISyntaxException: Relative path in absolute URI

Install Android SDK in centOs

Installing arules package (Association Rules) in R