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

What are EAR, JAR and WAR files in J2EE?

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

ATG Issue - ConcurrentUpdateException - on BCC Deployment