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

What are EAR, JAR and WAR files in J2EE?

ATG Issue - ConcurrentUpdateException - on BCC Deployment

How the competition helps to reduce the price of TEA?