MidnightJava
Registered
I'm new to OSX and Unix as well, and having trouble doing a very simple task. I just want to set an environment variable, java_home.
I'm using the BASH shell by default. I created a file named .bash_login, placed it in my home directory, and put the following line in it
java_home=/library/java/home/bin
Then in Terminal I executed
bash -login
printenv
The java_home variable is not defined.
What am I missing?
I'm using the BASH shell by default. I created a file named .bash_login, placed it in my home directory, and put the following line in it
java_home=/library/java/home/bin
Then in Terminal I executed
bash -login
printenv
The java_home variable is not defined.
What am I missing?